找回密码
 立即注册

QQ登录

只需一步,快速开始

教程经验总索引TVMW5/小日本5 索引【视频转换】小日本4/TE4XP 索引【视频转换】TAW4 / TDA3 索引【DVD打包软件】
Nero 索引DVD-Lab 索引【DVD打包软件】编解码器 索引 【必读】固顶帖011号
查看: 3299|回复: 0

[经验] cPanel里的 Addon Domain/Subdomains/Parked domain 区别

[复制链接]

9328

威望

242

金钱

1万

贡献

管理员

自由的灵魂

积分
99813
主题
5263
回帖
26212
注册时间
2003-4-10
最后登录
2024-3-28
发表于 2014-9-9 01:16:52 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
【转贴】

cPanel里Parked domain与Addon domain有什么不同?
在cPanel里,你可以方便的进行域名绑定操作。其中有两项重要的功能:Parked Domain和Addon Domain。初次接触cPanel的用户可能会对这两个功能的认识有些模糊,这里简单介绍一下。

cPanel里Parked domain与Addon domain的区别:
1,暂停的域、备用域名(parked domain)

作用:多个域名绑定到同一个网站。适合一个网站有多个域名的设置.
例如你有下面三个域名:yourdomain.com、yourdomain.net、yourdomain.org,
你可以用parked domain的功能,把这几个域名都绑定到空间上,让这几个域名都指向同一个网站。
(即同一个站点可以有几个不同的域名)。

2,附加域(addon domain)
作用:通过它可以实现一个空间放多个不同的站点。
一个空间可以做几个不同的网站,省钱,划算,呵呵。



更详细的解释:


Addon Domain/Subdomains/Parked domain



一般国外空间使用这个 Addon domain可是个好东西。如果你想用一个虚拟主机的账号建立多个网站的话,最好的办法是Addon域名。

什么是Addon domain?
Addon domain是一个除了主domain之外的新的Domain,它会在你的主网站上建立一个分目录,但显示为不同的网站。Addon Domain的网站共享主domain的空间和带宽,但它不会有自己的cPanel。

Addon domain的好处。
1. 在一个虚拟主帐户上建立多个网站。最主要的好处就是:省钱。
2. 附加的Addon domain同主Domain资源共享(磁盘空间,带宽)
3. 附加的Addon domain有自己的FTP账号,网站统计,cgib-bin等。

如何创建Addon domain?
1. 在域名注册商注册你的新的域名。
2. 把域名的Name Server指向您的虚拟主机服务商的Name Server。以Lunarpages为例,就是ns1.lunarpages.com或ns2.lunarpaegs.com
3. 登录到您空间的控制台,以cPanel为例,点击添加Addon domain。
4. 填写三处信息:
新域名: 你要增加的域名,不用写 www。
Username/directory/subdomain名: 这个是一个名字用作三处,既是新域名的ftp帐户名,又是主域名目录下的子目录名,还是主域名的子域名。
密码: 你的密码
5. 按“加入”的按钮. 要等数分钟为系统就会设置了附加的域名。
6. 一旦完成,你的域名就准备好了。你会看到在public_html目录下看到您的新子目录,上传图象和任何其他文件吧。
7. 测试您的新域名。

这里是一个例子,说明如何应用Addon domain:

比如说你的主域名是http://www.bluefishhosting.net,通过上述方法你添加了一个新的域名http://www.siteb.com

现在你可以这样访问这个新的域名
http://www.siteb.com
http://siteb.bluefishhosting.net/
http://www.bluefishhosting.net/siteb/

在cPanel里你还可以给新的域名添加Email地址,如webmaster@siteb.com

Addon domain会影响用户访问和搜索引擎吗?

不会。Addon domain象主域名一样的工作。如果你只透露的你的addmon domain的话(上例中的第一个url),没有人会看出Addon domain的网站和你的主域名网站有任何的联系的。

当然,这两个网站的IP是相同的,如果互相做链接的话,可能会对搜索引擎有些负面的影响。说远了。

最后,哪些虚拟主机服务商支持addon domain?

Addon domain的确不错,特别是针对有多个网站的站长。国外虚拟主机排名网站上的十大服务商均支持addon domain,但是收费方案不同:有的是免费若干或无限个,有的是每个addon域名一次性收费,有的是按月收。具体情况请见十大虚拟主机中Excel的文件。

愿你找到合适的国外空间并充分享受addon domain的便利。


~~~~~~~~~~~~~


如何添加Subdomains(子域名)

简单介绍
什么是Subdomains(子域名)?

Subdomains指以您的域名为后缀的二级、三级甚至N级域名。例如您的国际域名为abc.com,那么使用cpanel的子域名系统,您就可以拥有形如123.abc.com,love.abc.com等子域名

准备工作
一:您域名的DNS必须是虚拟主机提供商指定的DNS。
二:在您网站的根目录(public_html)下以您欲建立的子域名的前缀为目录名的目录。比如您要创建的子域名为love.abc.com,那么您需要先在public_html下建立love目录。(如果省略这步,那么cPanel会自动在添加子域名后生成对应目录)

操作步骤
OK,现在开始添加Subdomains(子域名)

首先登陆到Cpanel控制面板。Cpanel的登陆地址为:http://yourdomain/cpanel/ (请将yourdomain替换成您的域名)

成功登陆后在选择Subdomains(子域名),进入子域名维护(Sub Domain Maintenance)。

在最上边的输入框输入您要的子域名前缀,比如love,然后从后边的列表中选择域名后缀,比如abc.com,然后点击Add(添加)。

如果提示类似如下信息:
SubDomain Adder
The subdomain, love.abc.com has been added.
就表示您的子域名添加成功。

你就可以使用您的子域名来访问您站点上对应的目录喽。


总结
这样您就完成了添加Subdomains(子域名)的全部过程

以上内容由于Cpanel的设置不同,可能略有区别。

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Parked domain 和 Add-on domain 的区别


在购买使用国外虚拟主机时,经常可以看到parked domain 和 Add-on domain,有些是没有限制,有些限制了一定的数量,那么parked domain 和 Add-on domain到底是什么意思?他们之间有什么区别呢?下面就具体解释一下


parked domain中文一般翻译为域名停放,它的作用是让一个网站可以有多个域名,具体的做法就是把你的域名绑定到主域名对应的目录,通过这个域名和主域名访问是一样的。例如我有一个主域名是webhostingreviews.cn,我再Park另一个域名reviews.org.cn,那么这两个域名是对应同一个网站的。


Add-on domain(Addon domain),这个东西非常赞,我们看到的一个虚拟主机账号可以建无数的站,就是通过Add-on domain来实现的,具体的做法就是将你的addon域名绑定到了Public_html下的一个子目录,建立了一个新网站,对于浏览者来说,这个网站和你帐户里面的其他网站完全是独立的。试想一下,Public_html目录下可以建N个子目录,你的账号下也就可以建N多网站,就看虚拟主机提供商给你的N值有多大。举例说明一下,例如我账号的主域名webhostingreviews.cn,我想再另外建一个站reviews.org.cn,只需要 addon新的域名reviews.org.cn,reviews.org.cn就绑定到Public_html下的一个子目录,文件夹名有默认的值,当然也可以在addon的时候自己给文件夹命名。


简单点说:Parked domain是一站多名, Add-on domain是一机多站。


parked domain是针对主域名的,也就是把域名停放主域名对应的网站,那么还有一直需求是,如何给addon的网站绑定多个域名呢?其实这个也非常容易,做两次addon操作就可以了,具体做法就是把这两个域名都addon到你的主机帐户,addon第二个域名的时候,绑定的文件夹选择和第一个绑定的文件夹。例如我addon了一个域名 webhostingreviews.cn,对应文件夹是webhostingreviews,我再addon一个域名reviews.org.cn,对应的文件夹不用默认的而是修改为 webhostingreviews,这样这两个域名就绑定到同一个目录了,访问的是同一个网站。当然,这样操作会占用addon的名额,也就是虚拟主机提供商给你的addon domain的N值。


Parked Domain 问题:


1:什么是Parked domains?
Parked domains指向您在我们这里已存在的站点的根目录。他们允许您将额外的域名指向您已经存在的域名。例如domain.com、domain.net以及domain.org可以指向同一个地方(即同一个站点可以有几个不同的域名)。Parked domains不指向已存在帐户的子目录。我们也不允许任何软件或者技术用于绕过这个政策。

2:我必须注册Domain才能添加Parked domains吗?
仅仅通过cPanel添加parked domain是不够的。您必须保证这个域名已经被注册并且指向虚拟主机提供商的nameservers,例如:我的godaddy的域名管理里要把nameservers 改成

megabyet.net 的域名服务器ns1.megabyet.net,ns2.megabyet.net 。使用与您主账号/域名相同的nameserver/dns。

3:我可以在我的账号上放多少个域名?
请参考我们的虚拟主机类型计划获取当前的限额。

4:我可否通过使用.htaccess重定向或者使用重定向脚本来使我的parked domains做为独立的站点运行?
我们不推荐那样使用。但是你可以那样使用,风险自己承担,我们不提供任何技术支持。

5:我应该使用哪个nameservers?
Nameservers/DNS总是在我们创建账号的信息中给出(QQ或者Email或者其它方式),请参考那些信息。

6:我如何往我的账号添加parked domain?
登陆到控制面板(cPanel)选择“Park Domains”,然后输入域名(不加www),然后选择添加。我们的服务器现在就已经准备好接受这个域名了,您需要做的就是注册这个域名然后把这个域名的nameser​vers更改到我们服务器上。

7:parked domains有email能力吗?
默认情况下,所有发往parked-domain.com的mail都被发送到您在primarydomain.com的主Email账号。然而您可以在控制面板(cPanel)中通过更改默认地址(default address)来改变设置,你也可以基于您的parked domain添加POP帐户以及设置邮件转发。

8:我可以往我的账号上添加国际域名吗?

是的,您可以往您的账号上添加任何有效的域名。

9:我成功地更改了添加了parked domain并更改了DNS,为什么还不能通过parked domain访问呢?
DNS生效需要一段时间(根据不同的注册商,可能需要0-72个小时),请耐心等待DNS生效。





Subdomain Vs. Addon Domain
By Stephen Byron Cooper, eHow Contributor
Subdomains and addon domains are two different methods of expanding the addresses available for a site while maintaining a single code tree for a site. Both types of extra domains share the same host and administrative services, which centralizes resources and reduces costs. With careful planning, either method can enhance a website's presentation to the public.



Definitions
“Domain” has two meanings. It is used both for “domain name,” which is the address of a website, and also for “top level domain,” which is the “.com,” “.co.uk” or “.org” part of a domain name. The term “subdomain” refers to the first part of the domain name. This is the “www” part of the address and this standard subdomain can be replaced by custom subdomains. An addon domain is a completely different address, but it attaches to the same Web hosting package as the primary domain.

Creation
The administration behind the scenes is almost the same for both subdomains and addons. Most websites are administered through a console program called cPanel. The cPanel environment has a configuration screen for subdomains and another for addon domains. The format for each is the same. The subdomain attaches to a folder of the main site's directory structure. The addon domain is administered in the same way. The only difference between the two techniques is that the administrator can invent any subdomain, but an addon domain must be bought. The addon domain has to be unique and has to be different from the primary domain. The subdomain will always have the same domain name as the primary domain.

Application
Imagine a site selling discounted shoes. The main site may be www.cheapshoes.com. The administrator creates a home page that directs visitors to the subsite in their language. Beneath the root directory, the administrator creates directories “en” and “es” for English and Spanish version of the site, for example, and the entire site structure is duplicated beneath those directories, so the products page in each language would be “http://www.cheapshoes.com/en/products” and “http://www.cheapshoes/es/productos.” Using the subdomain method, these addresses would change to http://en.cheapshoes.com/products” and “http://es.cheapshoes.com/productos.” Addon domains give the benefit of changing the language of the domain name because “cheap shoes” means nothing to Spanish speakers. Instead, the administrator buys “www.zapatosbaratos.es” and maps that address to the “es” directory instead of a subdomain. The Spanish version of the site would then have the address of “http://www.zapatosbaratos.es/productos."

Benefit
Addon domains have another major benefit over subdomains. Search engines treat subdomains the same as subdirectories and list them together with the primary site in search results. Most search engines limit the number of pages shown in the same results to two entries. Sites hoping to flood search results with their own pages to squeeze out the opposition can only achieve this by using addon domains. This strategy requires careful planning, however, because search engines strip out duplicate content from results even if they have different domain names. If the duplication is excessive, the search engine will ban all of the copies of the site.



Read more : http://www.ehow.com/info_12099102_subdomain-vs-addon-domain.html
IsaacZ的发言中如果提到任何字母缩写或专有名词,在本论坛中一般都能搜索到。点此立即搜索点拨论坛。如有搜索不到的,请尝试搜索百度百科,或者跟帖提问。
发帖前请注意看置顶帖。如果你发现自己的问题没有得到回答,说明你的问题提错了地方或者提问前未先阅读本版规则固顶帖011号
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|点拨论坛

GMT+8, 2024-3-28 20:33 , Processed in 0.559484 second(s), 6 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表