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.
 

Ian

Administrator
Joined
Feb 23, 2002
Messages
19,873
Reaction score
1,499
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
 
Joined
Mar 5, 2002
Messages
106
Reaction score
0
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top