Re: redirecting a domain

From: Date: Sat, 15 Jul 2000 04:09:03 +0000
Subject: Re: redirecting a domain
Groups: php.general 
Request: Send a blank email to php-general+get-6727@lists.php.net to get a copy of this message
Addressed to: Sam Carleton <scarleton@activex-dev.com> php <php-general@lists.php.net> ** Reply to note from Sam Carleton <scarleton@activex-dev.com> Fri, 14 Jul 2000 22:26:05 -0400 > > 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? Do it in DNS. domain.net.zone --------------- www IN A 1.1.1.1 domain.org.zone --------------- www IN A 1.1.1.1 1.1.1.zone ---------- 1.1.1.1 IN PTR www.domain.net httpd.conf ---------- <VirtualHost 1.1.1.1> ServerName www.domain.net # This virtual host serves www.domain.net and www.domain.org, using # only one IP address... # # Reverse DNS, and the ServerName of both appear as www.domain.net. # </VirtualHost> Rick Widmer Internet Marketing Specialists www.developersdesk.com

« previous php.general (#6727) next »