SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. And I am using publishing portal template. I have a physical server with a single IP address, and I have set in DNS to map two domain names ( and to the same server/IP address.

My question is how to setup two SharePoint web sites on the same server with a single IP address to serve two domain names individually (with the same port number 80)? My current idea is to create two SharePoint web applications for the two web sites, with the same port number 80, but with different host header (setup Http host header to and individually for the two SharePoint web applications). Not sure whether my idea is feasible?

share|improve this question
can we add tags for alternate-access-mappings, dns, and web-application-setup? – Mike Oryszak Jan 22 '10 at 14:34
AAM was already there :-) – Anders Rask Jan 22 '10 at 18:00
up vote 3 down vote accepted

This is a difficult topic to describe in words only. I recommend you take a look at this link which I think does a great job of illustrating how to manage host headers, alt access mappings, and even ssl if applicable.

It is important to note though that this is how to set it up for a new application. You may or may not be able to reconfigure your existing application to work this way depending on how it is setup. Chances are it will be easier to bring up the content dbs on a new application.

share|improve this answer
I already gave George links to the whole series of AAM series, so no need to link to them since he ofcourse have read them all :-)… – Anders Rask Jan 22 '10 at 18:04
I thought the topic had come up before. ;) – Mike Oryszak Jan 22 '10 at 20:57
Thanks, question answered! – George2 Jan 23 '10 at 10:15

Your Answer


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.