How do I set a second-level domain name for my website?

Source: Internet
Author: User
Tags domain name server domain name registration
How do I set a second-level domain name for my website?

/* Written by jaron, 2004-08-03 */
/* Source: Web Technology () mvpcn.net blog (http://blog.mvpcn.net )*/
/* Indicate the source and retain the copyright information */
/* Welcome to SiteManager website management system http://demo.jaron.cn */

Many users have asked this question during csdn, so I wrote a simple document for your reference.
DNS concept: people are used to memorizing domain names, but machines only recognize IP addresses. domain names and IP addresses correspond one by one. The conversion between them is called domain name resolution, domain name resolution must be completed by a dedicated domain name resolution server, which is the DNS server.
There are two situations: 1. DNS servers are provided by domain name registration service providers; 2. DNS servers are set on their own fixed IP addresses;
How can we determine the DNS server address? International Domain Name and domestic domain name, can be found in the following address, http://www.internic.com/whois.html http://www.cnnic.net.cn/, always4u.net and jaron. cn as an example:

The query results are as follows:
Whois server version 1.3

Domain names in the. com and. Net domains can now be registered
With your different competing registrars. Go to http://www.internic.net
For detailed information.

Domain Name: always4u. net
Registrar: Xin Net Corp.
Whois server: whois.paycenter.com.cn
Referral URL: http://www.paycenter.com.cn
 Name Server: ns. cnzone. Net <-- you can see that it is specified by yourself.
Name Server: ns. xinnetdns. com
Name Server: ns. xinnet. cn

Status: Active
Updated Date: 19--200-2003
Creation date: 07-sep-2001
Expiration date: 07-sep-2004

Domain Name jaron.cn
Domain name status OK
Beijing Xinhai Technology Development Company
Domain Name Server ns.xinnetdns.com
Domain Name Server ns.xinnet.cn

Registration Date:
Expiration date:

If the DNS server is not local, contact your domain name registrar to set it. Here we use xinnet.cn (xinnet) as an example. The domain name management (mydns) function provided by the login service provider:

Add a record or cname record. If you want to add a game.jaron.cn record, enter the host name in game and the IP address in the server address pointed to by the second-level domain name.

If the DNS server is local, as long as there is a DNS server on the IP address pointed to by the DNS server, take Windows2003 as an example and make the following settings;

Follow the next step to complete the following operations.

Follow the next step to complete the following operations:

Click Add host to complete the second-level domain name settings. In this case, you need to set the Host Header for the site in IIS.

This article is relatively simple, and I believe everyone can understand it. If you are interested, try it on your own.

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.