Link to home
Start Free TrialLog in
Avatar of CISS
CISSFlag for United States of America

asked on

Host Header Question

We have a number of websites we host for free for friends and such. We're in the process of consolidating all our physical devices to VM. We're limited to the number of public adddresses that are available to us in the new vm rack with our hosting provider. My question is using dns and host headers to share an address is it possible to set up a site so that both of the following url's will resolve to the same site.

www.mywebsite.com
mywebsite.com (no www in front)
Avatar of Jon Scriven
Jon Scriven
Flag of United Kingdom of Great Britain and Northern Ireland image

Yes, this is possible (and quite standard).

The standard 'A' record should be mywebsite.com.  You would then have a separate 'A' record for the subdomain www.

You don't need to do anything in IIS to support this.
Avatar of CISS

ASKER

This will work even if you multiple domains sharing the same IP address?
Multiple domains, not subdomains?
Avatar of CISS

ASKER

Yes multiple domains
Which version of IIS are you using?
Avatar of CISS

ASKER

windows server 2003 iis 7.0 I believe
ASKER CERTIFIED SOLUTION
Avatar of Jon Scriven
Jon Scriven
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hello,

I see your questions and IIS can fulfill your current requirements mentioned in this request.

You simply need to add DNS record and host header with appropriate IP address on the website from the IIS Manager.

Regards,
Sanjay Santoki
Avatar of CISS

ASKER

I tried this with my site and it worked perfectly. Thanks
Glad to have helped.