discuz! Two-level domain name configuration under X-space

Source: Internet
Author: User
Tags domain

X-space is a set of Web2.0 community personal Portal system to meet the community users to display themselves, interactive communication for the purpose, with the "Forum Synchronization" function, with the discuz! forum system closely combined to form a "bbs+blog" as one of the standardized Web2.0 community personal portal solutions. So that each has a discuz! forum webmaster, can be easily installed for the station members to provide the mainstream Web2.0 community services.

Users want their blog to have a two-level domain name, personality and good remember, please follow me to slowly step through the operation.

  First, set the site level two domain name

1th Step: Login to their site's domain name management background to add a pan-resolution.

Take the new network domain name background as an example, enter the new network domain name management surface version, add a a record. Where, "host name" Fill "*", "point" to fill out the server IP for their own website.

Step 2nd: Set up the server to support the generic domain name.

Apache Environment: Open the Profile conf/httpd.conf file and add a virtual host. (The conf/httpd.conf file is under the/usr/local/apache2/of the Linux host, and the win host depends on your Apache installation location)

Configuration (as follows):

<virtualhost *:80>
ServerAdmin yourmail@yourdomain.com
DocumentRoot the server directory of your Supesite program
ServerName your domain. com
Serveralias *. your domain name. com
</VirtualHost>

In the IIS environment:

First log on to the server to establish a new site for X-space. Note: If there are other sites on the server, please set the host header for these sites, otherwise the level two domain name setting is invalid (see the end of the article for modifying the site host header). However, the host header for the X-space site must be empty.

  
Figure 1


Figure 2

3rd step: Into the Supesite webmaster Management background, open the "System settings-> enable level two domain name support" option. And in the "level two domain name of the root domain" text box to fill in your domain name. Like wodeblog.com. Now, the two-level domain name support settings are complete.

Note: Do not fill in the WWW in front of the domain name

  Second, change other site host header

View the other site properties first.

  
Figure 3

View Host header information.

  
Figure 4

If you want to edit the change host header for NULL.

  
Figure 5

Add additional host header information.

  
Figure 6

The modified site display.

  
Figure 7



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.