He wants it to look like .net, though, not .org.
In Apache's conf file, usually httpd.conf:
Redirect / http://www.domain.net
If it's a virtual host, put it inside the virtual host directive.
On Fri, 14 Jul 2000, Kurth Bemis wrote:
> At 10:26 PM 7/14/2000 -0400, Sam Carleton wrote:
>
> just set up a virtual host for one and have it point to the documentroot
> for the main site......
>
> make sense?
>
> ~kurth
>
> >I have an apache question and I have NO idea where to post it. Is there
> >a newsgroup or mailing list simply for apache?
> >
> >I have multipal domain names: domain.net & domain.org. I would like to
> >configure apache such that when someone goes to www.domain.org, they are
> >"redirect" to www.domain.net. They are both the exact same web site, I
> >simply want the domain name to show up as www.domain.net. Any thoughs
> >on how to do that?
> >
> >Sam
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> Kurth Bemis - Senior Linux Network/Systems Administrator, USAExpress.net
>
> [EMAIL PROTECTED]
> http://www.usaexpress.net/kurth
> ICQ - 6624050
> Call Sign - N1TYW
> PGP key available - http://www.usaexpress.net/kurth/pgp
>
> Fight Weak Encryption! Donate your wasted CPU cycles to Distributed.net
> (http://www.distributed.net)
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
Hans Anderson ~ [EMAIL PROTECTED]
PO Box 426, Missoula, MT 59806 | PHP, Search Engines, SQL
(800)397-9116 / (406)549-6524 | Databases, Flash Multimedia,
http://www.hansanderson.com | Killer Audio Production,
http://www.goofiness.com | Minty Fresh Breath.