How to Set a second-level domain name

Source: Internet
Author: User
Tags in domain url forwarding
In your Management Center-domain name management-DNS resolution Record Management-add an IP address (for example, the second-level domain name is abc.cnnetidc.com, the host name is ABC, and the corresponding IP address is a space IP address ), then, bind the second-level domain name to the space!

Q: Our company already has a website. I would like to ask, how to create a second-level domain name, the domain name is applied for in the new network, the space is hichina. I have already set it in domain name management, but cannot access it.

A: In addition to setting a redirection IP address on the domain name management platform, the second-level domain name directs to the corresponding redirection folder on your host. After the domain name arrives on your host, you need to automatically search for requests for binding the corresponding domain name. If not, the second-level domain name cannot be accessed. To use a second-level domain name, you can use URL forwarding. For example, if your domain name is www.abc.com, the folder 123 is in the root directory of the host to which your domain name points, you need to specify the second-level domain name to access the 123 page, you can create a URL forwarding on the new network management platform, second-level domain name fill in 123.abc.com forwarding address www.abc.com/123. Do not select hidden forwarding. It is useless and requires verification.
Bytes -----------------------------------------------------------------------------------------------------------
How to Set second-level domain name availability in win + IIS

Before writing, we should first scan the blind. The windows + IIS system that supports multiple sites under one system now only has
Win2000 Server Edition
Win2000 Advanced Server Edition
Win2003 Server Edition
Therefore, if you want to open multiple sites on the win server
For example, if a forum or blog has their own domain names, you must use one of the above systems.
____________________________________

Now, let's start setting up. First install IIS. IIS in Win2000 is installed along with the system. 2003 needs to be installed.

Because IIS supports PHP, You can first look:

IIS + PHP + MySQL + Zend optimizer + GD library + phpMyAdmin installation Configuration

After configuring the environment, you can install the blog below. Note that the next server in the win system can only support one site that requires the activation of the second-level domain name blog.
The following is the reason:
After IIS is installed, there will be a default website. The host header of the default website is blank. The effect of the blank Host header is that all domain names that resolve the local machine can access this site, because the empty Host Header has this effect, our blog site must be placed in a site with the empty Host Header setting in the Host header.
The default website can be deleted or directly changed to the site we need. Of course, you can set the Host header to be empty on multiple websites. However, if you set the Host header to be empty, only one of them will take effect.

Let's look at a setting example:

My servers
Forum (Port: 80 host header: www.uushop.net; uushop.net)
Login blog (Port: 80 host header: blog.uushop.net;) --- Note: I have bound an empty Host Header here
Bookstore (Port: 80 host header: book.uushop.net)

On the DNS server, you need to resolve the IP address (1.1.1.1 is used to replace your IP address)
Domain Name: uushop.net
A record IP Address
@ 1.1.1.1
WWW 1.1.1.1
Blog 1.1.1.1
Book 1.1.1.1
* 1.1.1.1
Bytes -----------------------------------------------------------------------------------------------------------

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.