首页 > Kloxo, 网站, 软件 > Kloxo中网站绑定多域名以及泛解析绑定所有子域名的办法

Kloxo中网站绑定多域名以及泛解析绑定所有子域名的办法

2010年6月27日 发表评论 阅读评论

原来不知道如何在Kloxo面板中给一个网站绑定多个域名,只好使用笨方法:增加网站,绑定相应域名并指定相同目录。

现在终于明白重影域名就是parked domain,增加一个重影域名就相当于多绑定了一个域名。例如:caoger.net可以绑定free8.name作为parked domain。KLoxo中的说明如下:

A parked domain is a domain that shares the document root the main domain that it points to. It is not a redirection, but rather sharing of the document roots at the core level itself. All the scripts will automatically work, but with the new domain name. A 'source.com/directory' internally goes to 'destination.com/directory' , though in the address bar of the browser, the url visible would be source.com/directory.

也可以在站点管理页,通过选择“解压/扩展”中“主机别名”来进行多域名绑定。如下图:
可以在站点管理页,通过选择“解压/扩展”中“主机别名”来进行多域名绑定
不过站点caoger.net只能增加类似bbs.caoger.net这样的子域名作为别名,不能绑定free8.name。如下图:
只能增加类似bbs.caoger.net这样的子域名作为别名
另外,这里也绑定所有子域名,也就是进行泛解析绑定,上图中的bbs用*替换即可。

You can add * as an alias so that all the subdomains are automatically directed to this domain. Lxadmin will also automatically add a DNS entry for the alias. Once you configure the catchall subdomain with '*', you can add the proper logic in your script to detect the correct subdomain and do accordingly.

分类: Kloxo, 网站, 软件 标签: , ,
  1. 小雪
    2010年7月24日14:13 | #1

    原来如此!我还以为只能绑定主域名和www子域名呢

  2. 2011年4月24日22:11 | #2

    3q

  3. kalvinzhou
    2011年6月22日13:39 | #3

    你写的文章太有价值了。感谢无私分享。对于像我这样的新手,太需要这样的教材了。谢谢。

  1. 本文目前尚无任何 trackbacks 和 pingbacks.