2 domains, 1 host?

Cache-man

Wannabe Webmaster
Joined
Mar 16, 2005
Messages
840
Reaction score
0
I manage a website at www.northcoastseafoods.net, which all works fine for now, and the company also has the domain www.northcoastseafoods.co.uk, which points to the .net site.

Is there a way to set things up so that when the .co.uk domain goes to the .net site, that .co.uk appears in the address bar instead of .net.
The .net site wants to behave as it does already though.
 
You can do something called a 301 re-direct (I'm not sure exactly how to do it off the top of my head, but google will show you how for PHP or htaccess, whichever you want :)). Sometimes the domain registrar lets you do this in their control panel, normally called a domain re-direct.

That should do the trick :D
 
If the server is running Apache and you have access to the configuration file, you can setup a Virtual Host container. Then all you would need to do is set the .net domain as the alias and the .co.uk domain as the primary one.

Here is a link to the Apache documentation which describes how to do this:-
http://httpd.apache.org/docs/2.0/vhosts/

Hope this helps.
 
Back
Top