Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

IT Discussion Forum Having IT issues? Got IT questions? Who doesn't? If you can't get your Apache to work with your MySQL or your php is choking on your ODBC... Let's see if we can help you come up with some ideas.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-2004, 05:02 AM
WebProWorld New Member
 

Join Date: Feb 2004
Location: UK and China
Posts: 1
marrychina RepRank 0
Default Using two domain names to link to one website.

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.
Reply With Quote
  #2 (permalink)  
Old 03-10-2004, 07:24 AM
WebProWorld Pro
 

Join Date: Sep 2003
Location: U.K.
Posts: 150
sparky_t RepRank 0
Default

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
Reply With Quote
  #3 (permalink)  
Old 03-10-2004, 07:49 AM
WebProWorld Pro
 

Join Date: Sep 2003
Location: U.K.
Posts: 150
sparky_t RepRank 0
Default

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
Reply With Quote
  #4 (permalink)  
Old 03-28-2004, 10:19 AM
WebProWorld Pro
 

Join Date: Sep 2003
Location: United Kingdom
Posts: 216
kikkertm RepRank 0
Default

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.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum
Tags: , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0