Discuz Forum How to set level two domain name

Source: Internet
Author: User
Tags bind php file

discuz! X2.0 and discuz! X1.5 similar, provides a portal, forums, groups, homes, channels, topics, forum sections, forum partitions, personal space, a single group of two-level domain name binding function

Here is how to open and bind the portal, Forum, group, home level two domain name

1, backstage "global"-"Domain name setting"-"Application domain name", after "the portal" fills in your domain name, fills in "the Forum" after bbs.66php.com
2, backstage "global"-"site function"-"function module", open the Portal function.
3, such as the discovery of "portal Home" and "forum home" can not be synchronized landing, please modify the Config folder in the config_global.php file, the $_config[' cookies ' [' cookiedomain '] = '. 66php.com ';


I found that some friends are the forum to set up a level two directory, such as your domain name/bbs, and then the domain name binding level Two directory BBS, this is not not can not, compared with limitations and trouble.
First, a two-level directory is required for a VPS or standalone host, a virtual host can bind to a relatively small number of level two directories; second, Discuz provides a level two domain name binding such a function, and finally is not conducive to SEO, because BBS. your domain name. com and your domain/bbs two pages of the same content.

The so-called Discuz forum level two domain name settings, that is, different functions to enable different domain names. If the portal enables www.ninthday.net, the forum enables bbs.ninthday.net, the group enables Group.ninthday.net, and the home enables home.ninthday.net.

Find the "global"--> "Domain name setting" in the Discuz admin background,

It is recommended that the "open personal space level two domain name:" and "open Group level two domain name:" are set to "no" in "Basic settings".

Switch to "application domain name", corresponding to different names to fill in the appropriate domain name, such as the home domain name fill as: Home.ninthday.net.

Finally, is also the most critical step, is to go to the Domain name management panel to do two-level domain name analysis. Here also need to do the domain name of the pan-resolution, the need to provide a domain name resolution service provider (generally known as the domain name provider) there to support the pan-resolution.

Need to do IP pointing to several host name: Home, BBS, group, www, *, where the host name "*" Class A resolution is the pan-resolution. As shown in the following illustration:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.