Dedecms bind second-level domain tutorial

Source: Internet
Author: User
Tags bind

 

Bind topic directory
We need to bind this second-level domain name to the column Directory, because the column we need to bind is under the edu folder in the root directory, we canHttp://www.111cn.netSo we can bind the second-level domain name of edu to this directory. If the VM needs to bind the second-level domain name to the topic, I will give an example here:

 

Image 3


Step 3: System background settings
Next we will set the system background. We will bind a second-level domain name in the column settings. We will edit the information of the "Webmaster College" section in [core]-[website column management] in the system background. In the advanced options section, we first enable multi-site support and bind the domain nameAsp.111cn.net "> http://asp.111cn.net. (You need to add http: //, the root URL of the first or second-level domain name)


 
Image 4


After the second-level domain name is enabled, we need to specify the template of the content page as {style}/article_article_frame.htm to avoid the unavailability of some features. At the same time, we need to go to the system background, go to [system]-[basic system parameters], and in the core settings, "(yes/no) supports multiple sites, after this option is enabled, the attachment, column connection, and arclist content enable the absolute URL option is enabled.


 
Image 5


In this way, we have completed the second-level domain name settings.
5.Generation and access
Now that we have completed our settings, we need to generate the website content. We need to update the HTML of the column page and the HTML of the content page.Php.111cn.net> http://php.111cn.netAccess to view the effect of the second-level domain name.

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.