Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have IIS7.5 and have multiple IP's, all which are in use.

I want to have another domain name added to a primary IP Address (which is in use). Is this possible? I however DO NOT want that domain name to clash with what is already hosted in that IP Address (its another website so basically I want 2 different websites on 1 IP Address)

is this possible? if so - how?

thanks

share|improve this question

migrated from superuser.com Oct 18 '13 at 15:36

This question came from our site for computer enthusiasts and power users.

3  
It's called virtual hosts. –  gronostaj Oct 5 '13 at 18:58
    
thanks. so how do I set one up? –  Ahmed ilyas Oct 5 '13 at 18:58
    
I don't have any experience with IIS, so I can't say anything more helpful. Just wanted to let you know what to google for. –  gronostaj Oct 5 '13 at 19:00
    
This is better on ServerFault and may be moved there. Please do not cross post. However, there are likely several answer there already as this is pretty basic. As suggested, Google Virtual Hosts to get started. Microsoft has many excellent TechNet articles as well –  Dave M Oct 5 '13 at 19:25

1 Answer 1

http://support.microsoft.com/kb/816576/en-us

See step 5.c you should add as many host header names for the site as you want. Or only one, for example:

For one site:

www.mydomain.com
mydomain.com
192.168.0.3

For another site:

www.someotherdomain.com
someotherdomain.com

That way, typing any of the above in a browser will take you to one site or the other, and both will be on the same IP.

You can add the IP address itself as a host header name as I did in the first site.

Of course, DNS servers should match so everything works.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.