Discussion Locked

IIS and Multiple Web sites

0 helpful
12 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need to host 3 different web sites on my IIS 4 box. I can change the DNS but once I point all of them to my one IP , how can IIS tell?

12 replies

by maz1980

You can do it. After querying DNS server about the webserver hostname, client browser send http request using server IP address. You should have at least 3 IP address.

by ds9

Hi Joe,

If you only have one IP#, then you can use a technique called "Multi-Homing" which will permit you to have as many web sites as you want, using only one IP#.

Do the following:
Goto START.
then windows NT4 option pack.
then MicrosoftInternet Information Server.
then Internet Server Manager, & Click.
On the MMC Console, highlight one of your Web Sites.
In Menu bar, click on ACTION.
Next click on Properties.
Click on Web Site tab if it is not already on screen.
Click on "ADVANCED".
You should seeIP#, PORT#, and "Host Header".
Highlight the IP#, and click on Edit.
There, inter your URL (Example: www.mysite.com).
goto OK and then highlight your next web site, and do the same.
In each case, the IP# should be the same, and port# = 80, only the URL will be different, and thats how IIS locates it for the clients browser.

Hope this helps
Regards

George

by ds9

The comment made by #3 below, is absolutely false. You can have as many of any extension types as you want. Into the thousands if you want to.

The sites listed below are ALL on the same IP#:
209.114.207.135

www.allfireandsafety.com
www.eastcoasttrading.com
www.911address-signs.com
www.expressions2000.com
www.brevardcpa.com

and on, and on and on.........

What would be the use in MultiHosting, if you had to use up an IP# for every Web Site.??

There are not enough numbers to goaround to do that.

Best Regards
George

by ds9

Poster #3 below is absolutely wrong in the comment that he made. What would be the use of Multi-Homing, if you had to use an IP# for every different (.COM) that you had on your system.??

Multi-Homing requires two out of three items to be the same. IP#, Port#, HostHeader.

If IP#=209.114.207.135, and port#=80 on all hosted web sites, then the Host Header can be all (,com), or mix and match.!!

The sites below all operate on the above IP#.

www.eastcoasttrading.com
www.allfireandsafety.com
www.911address-signs.com
www.expressions2000.com
www.brevardcpa.com

and they go on, and on, on, on, .......

Regards
George

The web sites listed below all use IP#:
209.114.207.135

www.eastcoasttrading.com
www.allfireandsafety.com
www.911address-signs.com
www.expressions2000.com
www.brevardcpa.com

and on, and on, and on on on .......

Regards
George

by chris hirst

you have to assign your IIS server 4 IP addresses. You can use DHCP and reserve 3 extra IP's for the same MAC Address or fix them by clicking the Advanced button on Network.. TCP\IP.. properties and then add the IP's and SubNet Masks to suit. Then you can add DNS entries. You will need an 'A' record for each IP and then a 'CNAME' for each web site hosted. You may also have to add host names and/or zones if each site has a different domain name.
The next thing is to tell IIS how to find each site, With each IP you can have an FTP and a HTTP entry, When you open the properties for each site you see a IP Address box below the description, This will normally say (All Unassigned), when you click the drop arrow you will find all the IP'syou have assigned to the machine, Match the appropriate web site to the correct IP and associated DNS Alias. If you assigned 4 IP's the (All unassigned) entry can point to a redirector page with the FQDN's for your main sites as links. Assuming there are internal (Intranet) users that may know ( and use )the server name this will allow them to find the correct site.

by shmaltz

I'm not sure about IIS 4.0 but IIS 5.0 has this feature. Using one IP for mutilple Hosts. It looks on the host header in order to know to which web page to route a request.

This discussion is closed to new replies.