How to set a secondary domain name for your website?
/ * Written by Jaron, 2004-08-03 * // * Original: Web Technology () mvpcn.net blog (http://blog.mvpcn.net) * // * Reprint Please indicate the source and keep this copyright Information * // * Welcome to SiteManager website management system http://demo.jaron.cn * /
When 9CBS, many netizens have asked such a problem, so write a simple information for everyone to refer to the concept of DNS: people get used to memory domain name, but the machine is only recognized by the IP address between the machine, and the domain name and IP address are one by one. Correspondingly, the conversion between them is called domain name resolution, and the domain name resolution requires a dedicated domain name resolution server, and the domain name resolution server is a DNS server. There are two situations, one, the DNS server is provided by the domain name registrar; Second, the DNS server is set on its fixed IP address; how to determine our DNS server address? International domain names and domestic domain names, can be queried in the following addresses, http://www.internic.com/whois.html http://www.cnnic.net.cn/, with always4u.net and jaron.cn Take an example:
The following are the results of the query: Whois Server Version 1.3Domain names in the .com and .net domains can now be registeredwith many different competing registrars Go to http:.. //Www.internic.netfor 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 <- Here you can see Name Server you specify : Ns.xinnetdns.com name server: ns.xinnet.cn status: Active Updated Date: 19-Oct-2003 Creation Date: 07-SEP-2001 Expiration Date: 07-Sep-2004 Domain Name Jaron.cn Domain Name Status OK Sign up Shang Beijing Xinhai Technology Development Company Domain Name Server ns.xinnetdns.com Domain Name Server NS.XINNET.CN Registration Date 2003-10-20 14:04 Expiral Date 2005-10-20 14:04
If the DNS server is not in local, you should contact your domain registrar to set it, here we take xinnet.cn (new network) as an example. Domain Name Management (MYDNS) feature provided by login service providers:
Add a record or CNAME record, if you want to add a Game.jaron.cn, the host name fills in the GAME, the IP address is completed as the server address to which this secondary domain name is directed.
If the DNS server is locally, as long as there is a DNS server on the IP address pointed to by the DNS server, the Windows 2003 is used as an example, and the following setting is made as follows;
The following operations are directly pressed until it is completed.
The following operations are pressed down until
Click Add Host to complete the settings of the secondary domain name. At this time, we need to perform related settings in IIS, set the host header for the site.