
但要如何在一個虛擬主機空間,建立多個不同的網站,其實方法很簡單,只要稍作設定一下,就能讓手邊的網站集合起來,放在同一台主機中,就不用租用多台主機啦!至於要怎麼作設定,現在就一塊來看看吧!
Step1
首先,先登入cPanel後台,接著點選「附加網域」。

Step2
接著再輸入網域名稱,與網站目錄的存放位置。

Step3
當建立完成時,當看到綠色條,表示已建立完成。

Step4
這時再到網域名稱申請的地方,將DNS指向到虛擬主機的IP。

Step5
一般DNS指向完畢後,需等24小時左右,這時可用命令視窗輸入ping 網域名稱,當看到from xxxx.xxx.xxx.xxx時,就表示已生效了。

Step6
這時就可透過cPanel的檔案管理中心,或FTP將網頁上傳到根目錄中,再輸入網址後,就會看到剛所建立的啦!這對於手邊有一些小網站的朋友來說,不但方便且省錢,租用一台虛擬主機,就可放置n個網站啦!
