Server with multiple sites incorectly directing visitors.

Hey there,

I'm the first one to admit I am no expert and fully expect this question to be a stupid one, but I would be none the less extremely appreciative of some direction.

You see I have a server serving two sites. A main one and a secondary one which is unrelated. When users type in the address of the secondary site in the form of "" the correct site comes up no problem. However, when users type in the address of the secondary site without the www... ie "" the browser automatically directs them to the home page of the main site.

I am guessing this is a method set up to catch users who enter an incorrect address, but I wonder if there is any way to stop this happening. Some advice on how to go about sorting this out would be fantastic.

Who is Participating?
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.

Ok, What OS and what webserver software? IIS, Apache?
WadskiIT DirectorCommented:
I am taking a punt that this is IIS and it is because of you have Site1 setup to (All Unassigned) IP Addresses.

There is a very quick and easy way to fix this.

Open IIS Manager
Navigate your way to the 2nd Website  (Computer Name > Web Sites > 2ndWebsitename
Right click and Select Properties
On the Web Site tab select the Advanced... button
Click Add
Now copying what is in the 'Multiple Identities for this Website' box that the new box has opened on top of:
Host Header Value: (not

Okay and Apply your way out then restart IIS and it will be sorted.

If it is Apache I can provide the method too - just let us know!

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
robyndornAuthor Commented:
Wadski, I think you hit the nail on the preferbial :)

Thanks heaps!
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.