Web Hosting Talk







View Full Version : shared IP


mithilesh
07-25-2001, 03:43 PM
can you give me idea how can I host more than one site on a single IP number by using internet service manager(IIS5.0).


Classic Softwares
<<EDIT>>
T-2, 3rd Floor, 24 Adchini,
Off. Aurobindo Marg., Sarvodaya Enclave
New Delhi - 110017, India

peachtreewebworks
07-25-2001, 05:43 PM
Its easy....With IIS 4.0 you go into the MMC Console for
the IIS Manager. Right click on your computer, create a new website. After you input the name of the site you want to create, the next screen should ask you for the IP address, Port, and Host Header Name.

The host header is the key. At least one of the 3 must be unique, and since the IP and the Port (80) are the same, the name needs to be different.

When you create the new site, point it to a virtual directory somewhere in the IIS manager. Then when someone goes to that site, they will be directed to that directory.

Hope that helps :)

Michael

tkangas
07-25-2001, 05:43 PM
Hello,

In IIS 5.0 hosting on a shared IP address, you will need to do the following from the internet services manager:


1. Right click on the site that will share the ip address, and select properties.

2. On the web site tab, there is a dropdown box that says IP address:. click on the button next to the box that says advanced.

3. A dialog box will pop up showing the ip address assigned to the site (it might read all unassigned). Click on the address, and select edit.

4. A web site identification dialog will appear. From here you can select the ip address, http port number, and the host header name. The host header name is what you would set the shared domain name on. In other words, if you have 2 sites hosted on an ip address of 192.168.0.1, the box would be filled like this:

IP Address: 192.168.0.1
Port: 80
Host Header Name: www.domain1.com

You can repeat the process on another site, using the same settings, but changing the Host Header Name: to www.domain2.com.

Most version 4.0 browsers will send a host header field when requesting the site, to which IIS will read, and send the pages from the site listed in the host header.

Some older browsers will not be able to support this feature, but I believe that makes up only about 2% of the market. If these are hits you can afford to lose, or if IP address space is tight, the use of host headers can be beneficial.

Hope this helps.

Sincerely,

Thomas A. Kangas
Kangas Consulting

mithilesh
07-28-2001, 01:07 PM
I want to say thanks for your help . You really solve my big problem and I am success in this.