View Full Version : Using two domain names to link to one website.
marrychina
03-10-2004, 04:02 AM
I have got 2 domain names and one website, is there any way I can have both domain names pointing towards the one website. Thanks, I like the informative newsletter from you, its one of the very few that I actually read.
sparky_t
03-10-2004, 06:24 AM
Hi,
you have two easy choices:
1. (my prefered)Have you site hosted on an ISP which allows serveral domains to be parked, but only one site. This means your visitor goes to www.site1.com and gets your site, or www.site2.com, getting the same site, none the wiser that you have them both there. (my ISP http://www.freevirtualservers.com/ does this)
2. Have a redirection on one page so that your visitor goes to www.site1.com but then automatically gets forwarded to site2. The problem with this is that the URL changes and can confuse the average surfer.
HTH
Sparky
sparky_t
03-10-2004, 06:49 AM
Sorry, forgot the code:
<html><head>
<META HTTP-EQUIV=Refresh CONTENT="5; URL=http://www.theurlyouhavethesiteon.com">
</head><body>
Your viewable text here
</body></html>
The code goes on the 'site-less' URL
Sparky
kikkertm
03-28-2004, 09:19 AM
Ask your ISP to setup an Alias for the second domain name: site2.com CNAME www.site1.com. This will make site2.com resolve to www.site1.com.
The site2.com address will stay in the address bar if you do it like this.
If you want site1.com to show in the address bar (i.e type in site2.com and then it changes to site1.com) and you registered your site2.com domain name with a decent registrar you can just setup a forward (usually free) that forwards site2.com to www.site1.com.