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.