« DreamHost 优惠码 | Main | 用cPanel向虚拟主机导入大型数据库 »

cPanel中如何绑定多个域名到同一个网站

在cPanel中可以用addon domain添加新网站,但是很多人有这样的需求,如何将多个域名绑定到同一个网站。例如本站就绑定了两个域名,用www.enamebiz.comwww.idcspy.com访问到的是同一个网站。

下面以本站域名为例来说明一下操作过程。
如果要把其他的域名绑定到主域名对应的网站,很容易,直接在Parked Domain添加域名既可。
下面来说明一般的情况,要绑定的网站是用addon domain添加的如何操作。
以本站为例,假设已经用addon domain的功能添加了一个网站www.enamebiz.com对应的文件夹(Username/directory/subdomain Name: )是enamebiz,现在要绑定一个新的域名idcspy.com到已经有的这个网站。
还是使用addon domain添加域名idcspy.com,但是注意,对应的文件夹(Username/directory/subdomain Name: )不能使用默认的,而是修改为要绑定的那个网站对应的文件夹,我们这里用的是www.enamebiz.com对应的enamebiz,然后点击addon domain添加新域名。这样www.idcspy.com就绑定到原来的网站了,从而实现了多个域名绑定到一个网站。

TrackBack

TrackBack URL for this entry:
http://www.hostgator-bluehost.com/cgi-bin/mt-tb.cgi/46

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on January 20, 2007 11:34 PM.

The previous post in this blog was DreamHost 优惠码.

The next post in this blog is 用cPanel向虚拟主机导入大型数据库.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.33
Hosted by IXWebHosting.com