Technology for binding multiple domain names to one IP Address

Source: Internet
Author: User
Many virtual hosts only have one IP address, and many domain names direct to this IP address, but they can access the content of the website where their domain names are located. This is the technology of binding an IP address to multiple domain names. Let me talk about how to do this ..

 

First, you should confirm that both of your domain names point to the Host IP address. Let's take JZ173.COM and xxsky.com as an example.
We should first point both domain names to an IP address, such as 192.168.4.88

Then: <topic>

We will first create two folders, named jz173.com and xxsky.com for easy identification. The two folders can contain their respective contents.

Next, go to IIS settings
We have created two new WEB sites, jz173.com and xxsky.com, which are easy to recognize.
First, create a jz173.com site
Note: The Host header should be the domain name corresponding to your WEB site. For example, the domain name corresponding to this site should be jz173.com.
The path is the newly created folder jz173.com.
OK. The first site is created
In the same way, we can create the second website xxsky.com
Enter xxsky.com in the Host header.
Path: xxsky.com, the folder we just created
IIS settings complete
Now your host is bound with two domain names.

 

Also say a few words: <summary>
1)
Modify dns pointing at your domain name Registrar
Enter your ip address

 

2)
Specify the "Host Header" of the new site as your domain name (then bind it to your ip address), and then specify it to your directory.
In this way, you can "bind" multiple domain names with the same ip address-Implement Virtual Hosts
 

Let's say a few more words:
Solution:

 

Research on creating multiple sites with an ip address in iis:
My last point is also a long-time question. Since my website is built on a rented server and the ip address assigned to my ftp is the same as that of other users on this host, I want to determine whether a single ip address can be used to create multiple sites. Before attending this networking internship, I also paid attention to Netease's free space. The allocated ftp address is the same, but the user name is different. So during my internship, I tried this idea and the result was consistent with what I imagined. The method is described below. In iisWebEach site has a unique identifier consisting of three parts for receiving and responding to requests: (1)IP address (2) port number (3) Host header name. I will explain in detail in an example: Suppose we have three websites: meijiemei (a), daily purchase (B), and daily purchase blog (c). We will first create site directories for them, then, use the web site management Wizard to create independent web sites for the three websites. The biggest difference between the three is that different host headers are used:
Www.a.com.cn Www. B .com.cn  Www.c.com.cn 
Direct the site home directory to the directory you set for them. Set the tcp port to 80. All IP addresses point to a unique IP address. Of course, the domain name is entered for access.

If you do not know how to download the video, click to download it.

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.