redirect based on the hostname

Using a single web hosting account to host multiple sites

redirect based on the hostname

Postby starman7 » Wed Aug 24, 2005 2:45 pm

I have several domains that reach one Apache server.

I'd like to redirect based on the hostname used to reach the site


So given domain1.com, domain2.com, and domain3.com

all reach domain.com,

domain1.com should get re-written to www.domain.com/domain1_stuff
domain2.com should get re-written to www.domain.com/domain2_stuff
domain3.com should get re-written to www.domain.com/domain3_stuff

And I would like to force the www. for all

Thanks!!
starman7
 
Posts: 1
Joined: Wed Aug 24, 2005 2:36 pm

Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 1 guest

cron