View Single Post
  #7 (permalink)  
Old 11-05-2008, 05:33 PM
spiderbait's Avatar
spiderbait spiderbait is offline
WebProWorld Pro
 
Join Date: Oct 2003
Location: Gibsons, BC, Canada
Posts: 271
spiderbait RepRank 6spiderbait RepRank 6spiderbait RepRank 6spiderbait RepRank 6spiderbait RepRank 6spiderbait RepRank 6
Default Re: One website, two top level domains

Quote:
Originally Posted by son View Post
Understood. Still, to start off with it would cost too much to have two separate hosting packages. To pick up what you said (Using server side scripting (PHP, ASP, etc.) you can check the domain for .com or .co.uk and load the appropriate price list.): What do you mean by that? I know you can have hosting with one domain and then forward the other domain to first domain with some info in querystring to have the programming logic display the correct content. Still, this would mean a user going to mydomain.com would be transfered to mydomain.co.uk. My main problem is: How would you be able still to show mydomain.ie in browser address bar although the user actually is on .co.uk hosting? Hope I make sense.

Son
To make this work you'd need to have a hosting package that permits you to "park" a domain on top of the other one. With that, either domain would work properly and assuming all of your internal links are structured as relative links (rather than absolute links) a visitor would be able to browse the site in its entirety using whichever TLD they arrived on.

The next thing you need is to have a script which would check the URL the visitor is using and test it for either .com or .co.uk or .ie and then based on the TLD it finds, it would then dynamically change the variable content you want to control, such as prices in pounds or dollars.

Hope this helps.
__________________
Jade Burnside, Ahead of the Web
What good is your web site if no one can find it?
SEO & Optimized Web Site Design
Reply With Quote