[thelist] apache redirect from one domain to another

Robert Gormley robert at pennyonthesidewalk.com
Thu Nov 4 11:00:06 CST 2004


> Yes.  Basically the .com and the .net are the same site and same code.  It
> should be that the .com domain takes all request and the .net just allows
> customers with that domain to get to the .com domain.

If there is no 'real' issue - you can set up two 'named virtual hosts' in
apache to point to the same code base. Or else, as per:

http://mvacs.ess.ucla.edu/manual/misc/howto.html#redirect

Though, more favourably:
http://httpd.apache.org/docs-2.0/mod/mod_alias.html

Cheers,
Robert



More information about the thelist mailing list