RE: Domain Name Pointing Game
by "Micah R. Condon" <micahc(at)webdezyne.com>
|
| Date: |
Thu, 7 Feb 2002 09:55:43 -0700 |
| To: |
"'Anthony L. Gloster, Jr.'" <alg2(at)alg2.com>, <hwg-techniques(at)hwg.org> |
| In-Reply-To: |
alg2 |
| |
todo: View
Thread,
Original
|
|
If you're on an apache server, and you have access to your httpd.conf, it's
relatively easy:
<VirtualHost olddomain.com www.olddomain.com>
ServerName olddomain.com
RedirectMatch ^/(.*) http://www.newdomain.com/olddomainsave/$1
</VirtualHost>
-----Original Message-----
From: owner-hwg-techniques(at)hwg.org
[mailto:owner-hwg-techniques(at)hwg.org]On Behalf Of Anthony L. Gloster,
Jr.
Sent: Thursday, February 07, 2002 8:17 AM
To: hwg-techniques(at)hwg.org
Subject: Domain Name Pointing Game
Good Morning,
Here is the question.
I like OldDomain.com. Its a cool name and I dont want to let it, nor the
content that i have created on it go. But I also have NewDomain.net that
more people know about. I dont want to pay for full hosting of 2 different
domains. So I am doing a complete backup of OldDomain.com and removing it
from the current hosting company.
My New hosting company is allowing me to point OldDomain.com to its
Domain Name Servers for a fee of $10 per month. I have already submitted
DNS changes to Network Solutions to point to the new Name Servers.
What do I need to do now to achieve the following result...
Someone types in http://www.OldDomain.net/something
They get redirected to http://www.NewDomain.com/OldDomainSave/something/
With the address in the URL changing in the address bar to
http://www.NewDomain.com/OldDomainSave/something/
Meta Refresh?
VHost?
.htaccess?
Any and all help is greatly appreciated.
-ALG2
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.