General discussion

Locked

IIS and Multiple Web sites

By Joe Barton ·
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?

This conversation is currently closed to new comments.

12 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

IIS and Multiple Web sites

by maz1980 In reply to IIS and Multiple Web site ...

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.

Collapse -

IIS and Multiple Web sites

by Joe Barton In reply to IIS and Multiple Web site ...

I only have 1 External IP address

Collapse -

IIS and Multiple Web sites

by DS9 In reply to IIS and Multiple Web site ...

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

Collapse -

IIS and Multiple Web sites

by DS9 In reply to IIS and Multiple Web site ...

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.**1address-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

Collapse -

IIS and Multiple Web sites

by DS9 In reply to IIS and Multiple Web site ...

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.**1address-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.**1address-signs.com
www.expressions2000.com
www.brevardcpa.com

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

Regards
George

Collapse -

IIS and Multiple Web sites

by Joe Barton In reply to IIS and Multiple Web site ...

Poster rated this answer

Collapse -

IIS and Multiple Web sites

by chris hirst In reply to IIS and Multiple Web site ...

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.

Collapse -

IIS and Multiple Web sites

by chris hirst In reply to IIS and Multiple Web site ...

Forgot this bit, Answer 2 is correct if you were sending out the same website with different several FQDNs eg;
www.website.com
www.website.org etc

Collapse -

IIS and Multiple Web sites

by Joe Barton In reply to IIS and Multiple Web site ...

Poster rated this answer

Collapse -

IIS and Multiple Web sites

by shmaltz In reply to IIS and Multiple Web site ...

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.

Back to Windows Forum
12 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums