Discuz! Second-level domain name configuration in X-Space

Source: Internet
Author: User
X-Space is a personal portal system in the web community. it is designed to meet the needs of community users for self-presentation and interactive communication. it comes with the "Forum synchronization" function and can work with Discuz! The forum system is closely integrated to form a "BBS + Blog" system, which scales the personal portal of the Web2.0 community.

X-Space is a personal portal system in the web community. it is designed to meet the needs of community users for self-presentation and interactive communication. it comes with the "Forum synchronization" function and can work with Discuz! The forum system is closely integrated to form a "BBS Blog" as an integrated solution to scale the personal portal solution of the Web2.0 community. Make each bit have Discuz! The webmaster of the forum can be easily installed to provide mainstream Web2.0 community services for site members.

The user looks forward to seeing that his Blog has a second-level domain name of his own, and his personality is easy to remember. please follow me to control it step by step.

  1. set the second-level domain name of the website

Step 2: log on to the domain name management background of your website to add wildcard resolution.

Take the domain name background of Xinnet as an example. after entering the domain name governance panel of Xinnet, add A record. Enter "*" as the "host name" and "point" as the server IP address of your website.

Step 2: Set the server to support wildcard domain names.

In Apache environment: Open the configuration file conf/httpd. conf and add a VM. (The conf/httpd. conf file is in the/usr/local/apache2/directory of the linux host, and the win host depends on your apache installation status)

Configuration (as follows ):


ServerAdmin [email] yourmail@yourdomain.com [/email]
DocumentRoot: The server directory of your SupeSite program
ServerName your domain name. com
ServerAlias *. your domain name. com

In the IIS environment:

First, log on to the server and create a new site for X-Space. Note: If there are other sites on the server, set the host header for these sites first, otherwise the second-level domain name settings are invalid (for correction of the site host header, please refer to the article at the end ). However, the host header of the X-Space site must be empty.

  


Step 2: Go to the SupeSite webmaster management background and open the "System Settings-> enable second-level domain support" option. Enter your domain name in the "root domain name of the second-level domain name" text box. For example, wodeblog.com. Now, the second-level domain support settings are complete.

Note: Do not enter the www before the domain name

  II. change the host headers of other sites

First, view the properties of other sites.

  

View host header information.

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.