i IP Address - Multiple Domains in IIS

Hello All;

OK, it has been years since I have done this, and I remember getting the error, and fixing it, but I DO NOT remember how I did it.

OK.
Win2k3 Server.
IIS
Running multiple domains
somedomain.com
anotherdomain.com
With a single IP Address, and same Port #

Host Header information (same PORT, same IP)
default websites set as: www.somedomain.com
New website set as: www.anotherdomain.com

OK, the new site, after it is created,
is (Stopped)
When I try to "Start" it.
I get the following error:

IIS was unable to start the site. Another site may already be using the port you configured for this site. Please select a unused port for this site.

So, can someone please share some light on this issue.

Thanks all
Carrzkiss
LVL 31
Wayne BarronAuthor, Web DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tailoreddigitalCommented:
I don't have experience doing this on a Windows server, but on Apache i'd use Virtual Hosts to accomplish this.

On Apache, i'd get the same error if two domains were using the same port, Virtual Hosts solve this.
FYI,
http://support.simpledns.com/kb/a82/virtual-hosting-with-iis-internet-information-services.aspx


I really don't have much more for you, just trying to contribute anything i got.   Hopefully this can point you is a good direction.

Good Luck

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
John EastonDirectorCommented:
Your setup looks correct to me.  However, do you have any other sites listed and if so are any set to respond to "All Unassigned" IP Addresses, or the same IP address without a host header?

If so, you either need to Stop this site, give it a host header or change its IP Address.
Wayne BarronAuthor, Web DeveloperAuthor Commented:
It was what was in the link that did it.
Will explain more in other post.

Thanks.
Carrzkiss
Wayne BarronAuthor, Web DeveloperAuthor Commented:
OK.
The link that was provided by: Tailor
The image was the key.
It shows that the Default Website is (Stopped)
And that is what triggered the memory for me.
So, now all is good.
All sites are running.

So. If anyone has this issue, the first thing that you have to do, is (Stop) the [Default Website]
Then you can add multiple domains under the same IP and Port Number.

Thanks again Tailor.
Carrzkiss
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.