Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple sites on IIS 5.0

Status
Not open for further replies.

Rookcr

MIS
Aug 12, 2002
325
US
Good morning,

I have very little expierence with IIS. What I have been tasked with is hosting multiple sites off of 1 IIS server. As I am sure this is easy to do, my expierence has been a 1-1 nat tranversal in my firewall. Then my website is pointed to that port. For instance:

= 200.200.200.200

On My pix I allow 200.200.200.200 through on port 80 and then do a static statement that says

200.200.200.200 maps to 10.10.10.10 for directing the requests.

In my mind works great for a single site.

How do I set up the IIS to take on multiple sites and how do I register the DNS records to properly direct it.

Thanks,
Rook
 
Multiple sites could share the same IP address when you configure IIS to distinguish the HTTP Request for one site from those for the other sites by examining the "host header" ... so IIS will map to one file folder and requests for to a different file folder.

Another way to do it is to bind multiple IP addresses to the server's network card.... so that each web site has its own different IP address... then you configure IIS to associate the proper folder with its IP address.

PS: By "folder" I mean the root folder of the "web site" in the IIS Administration tool.
 
Sheco,

Thanks. Does this mean the site we currently have running can't run under the default website?

I have been reading about the host headers, I see it does not work when it is set to use SSL. My current Website runs some SSL.

I have another NIC in the box thast I can configure, from there can I run host headers or am I no further ahead due to the SSL.

Thanks again

Rook
 
You can add another web site and just change the configuration of your current default site so that it either only answers to a particular host name or a particular IP address.

It sounds like you prefer to use multiple IP addressess and that is cool but you know you can go into the network property sheet and bind multiple IP addresses to a single NIC.... a separate one is not required for each IP address.
 
OK so I get that. Can I then add multiple DNS entries at my ISP for 1 address?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top