Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you force multiple aliases to resolve to one URL?

Status
Not open for further replies.

pacified

Programmer
Feb 8, 2007
1
0
0
US
I've searched the Internet far and wide for a solution to this problem, and have found none. Maybe I'm just stupid (which I'm hoping) and you all can help me.

I'm running Tomcat 5.5.8. I have multiple virtual hosts running.

Some of the virtual hosts have aliases, for example like this

<Host name="bobjones.com">
<Alias><Alias><Alias>bobjones.net</Alias>
.
.
.
</Host>

My question: how do I force all requests to one of the aliases to go to the URL I put in the Host name="" area?

How do I force a user who goes to bobjones.net to get auto-redirected to bobjones.com?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top