Iis – How to set up second IIS website with different domain name on a single server

domain-name-systemiiswindows-server-2008-r2

I've never done this before so I'm looking for help. we have a domain, domain.com, and the default site set up in IIS with a DNS forward lookup entry to have domain.com point to the site host so we can access domain.com/application.

What my developers want is for me to set up a second site beside the default site called beta.domain.com and have a domain name entry pointing to that. Normally this wouldn't be a problem but both the beta.domain.com site and the default domain.com site will be in IIS on the same host. So how do I have a DNS entry point to the same host but have them point to different sites?

It may be very simple, I've just never done it before.

Best Answer

If you are doing this on a single IP address, you will need a host header.

If you are using separate IP addresses per site with both IPs assigned to the same server, you should modify the bindings for that site so that each site is bound to a different IP address.