Web help required

Am a newbie to web design and this forum, so hope you can help.

Have registered two domains, one .com and one .co.uk

Want to set up web pages on .com domain, and would like the .co.uk domain to automatically re-route to the .com domain to view the pages, just in case anyone types the wrong address in their browser.

Unfortunately, I can't work out what I need to put in the index.html of the .co.uk domain to make it automatically re-route to the .com domain.

Hope I have made myself clear on what I am trying to do, and can anyone help?

Thanks :(
 
Depends on you server host and domain host - I would guess, ideally, that the two domains could point to the same place. But you will probably see whichever name you entered by, throughout.

If you JUST want the second domain to collect and forward you, then that's a service many cheaper domain services provide. If you don't want to keep that name at the top, then do not select "cloaked" forwarding - as that uses a frame page to keep the address there, and as I read it, you want it to spit you out to the other name anyway.

If you actually have it pointing to a page - an entry page which can have a picture and some text to feed the search engines, then the command is described here:
http://www.pageresource.com/html/metref.htm

You should also provide a link, for any browsers that do not honour refresh - and as described - if you want the page to be on a search engine, don't refresh it too fast!
 
Last edited:
Thanks for the info guys. Both domains are on the same server. All I want to do is send the user to the required web pages if they type in website.co.uk instead of website.com

Hopefully I now have a solution that will enable me to do that.

Thanks again.
 
or a real simple way to do it would be to point both index pages(.com and co,uk) to the same index2 page and go from there, that way u dont have to bother with scripts that might let u down and its a simple and easy way of gettin around your problem.

EG:

Index.html(.com)>>>>>>>>>>index2.html
index.html(.co.uk)>>>>>>>>>index2.html


sorry if this confuses you a little but its the simplest way i could think of showing you on here. :D
 
Top