How do i point a co.uk domain to a .net domain?

supersaver09
supersaver09 Posts: 635 Forumite
edited 27 November 2011 at 9:48PM in Techie Stuff
Not sure if this is the correct Forum to ask this....but i've recently set up a .net website but also have a .co.uk website with a different web host.
The .net website is a lot better, so i'd like to point the other website to the new one. [i.e when someone types wwwblahblah.co.uk it takes them directly to the wwwblahblah.net website].
I know it's done via the DNS settings, but will i have to change CNames and glue records etc. too?

Comments

  • S0litaire
    S0litaire Posts: 3,535 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    No need to fiddle about with cnames you can set a "Redirect"

    What provider has the .co.uk domain? do they offer a "cPanel" or Domain management page?
    Check there for a "301" or "302" redirect option
    Laters

    Sol

    "Have you found the secrets of the universe? Asked Zebade "I'm sure I left them here somewhere"
  • supersaver09
    supersaver09 Posts: 635 Forumite
    edited 27 November 2011 at 9:41PM
    S0litaire wrote: »
    No need to fiddle about with cnames you can set a "Redirect"

    What provider has the .co.uk domain? do they offer a "cPanel" or Domain management page?

    Check there for a "301" or "302" redirect option

    It's with Domainmonster.
    I don't remember seeing a redirection option tbh.
    I've added the 2 NS references & the ip address of my new web provider (mr site)
    but it directs it to an old Mr site website I had previously (With the same co.uk web address) and not the new .Net website.
  • Myser
    Myser Posts: 1,907 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Combo Breaker
    You do not need to change the nameservers or Cname on the .co.uk site. Otherwise you would be trying to host two websites on the same server.

    Just look for a redirect option in your online control panel for the domain. Once you have the redirect working, you should be able to cancel the hosting on that domain and save some money!
    If my post hasn't helped you, then don't click the 'Thanks' button! ;)
  • John_Gray
    John_Gray Posts: 5,837 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Photogenic
    It's considerably easier than that. Just read this webpage and put the appropriately-amended code as index.html (or whatever your index file is named) on the .co.uk website, pointing to the .net website!
  • Myser wrote: »
    Just look for a redirect option in your online control panel for the domain. Once you have the redirect working, you should be able to cancel the hosting on that domain and save some money!
    I cannot find anywhere in the DNS control panel that will let me do this.
    John_Gray wrote: »
    It's considerably easier than that. Just read this webpage and put the appropriately-amended code as index.html (or whatever your index file is named) on the .co.uk website, pointing to the .net website!
    ItsJuicy wrote: »
    Upload a file to your .co.uk domain named index.php with the following as the code:

    <?
    Header( "HTTP/1.1 301 Moved Permanently" );
    Header( "Location: http://www.yourdomain.net" );
    ?>

    and change your domain to your .net domain name.


    Great link John, but where would i actually enter this information?
  • John_Gray
    John_Gray Posts: 5,837 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Photogenic
    Great link John, but where would i actually enter this information?
    Huh? As the file index.html or index.htm, whatever your webhost uses as the top level index. Effectively your .co.uk 'website' will consist of this single file, which does the redirect to your .net URL.
  • Just a quick note to add here. Automatically re-directing a website to another website when a user clicks on it is frowned upon by search engines such as google and can lead to your website getting blacklisted in the rankings or moving down significantly.

    My advice would be to concentrate on the 'better' website, and just post a message with a link to the 'better' website on your older one saying that you have moved.

    This will mean you won't get blacklisted by search engines. Also, I know I as a user (I am sure other people will agree) do not like and will stay clear of websites that redirect me to a totally different website.

    Infact I even have software on my broswer that stops page re-directs like that.

    Experience;
    4 Years working as a Search Engine Optimiser for a website
  • scotty_591 wrote: »
    Just a quick note to add here. Automatically re-directing a website to another website when a user clicks on it is frowned upon by search engines such as google and can lead to your website getting blacklisted in the rankings or moving down significantly.

    Oh, i didn't know that! :/
  • Myser
    Myser Posts: 1,907 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Combo Breaker
    I believe web-forwarding is different to HTML redirects and shouldn't be blocked. The best option is to find out whether your provider offers web-forwarding with URL masking. This means that when someone types in the .co.uk domain, they are effectively browsing your new .net site but the URL (web address in the Internet browser) does not change.

    Most good domain/web hosting providers will allow you to do this.

    If your current one doesn't, then transfer the domain to one that does (would be easier if it was with the same company as the new domain).

    Also as I mentioned before, if you setup web-forwarding, you do not need to pay for hosting on both domains. Just on the new one only.
    If my post hasn't helped you, then don't click the 'Thanks' button! ;)
  • Myser wrote: »
    I believe web-forwarding is different to HTML redirects and shouldn't be blocked. The best option is to find out whether your provider offers web-forwarding with URL masking. This means that when someone types in the .co.uk domain, they are effectively browsing your new .net site but the URL (web address in the Internet browser) does not change.

    Most good domain/web hosting providers will allow you to do this.

    If your current one doesn't, then transfer the domain to one that does (would be easier if it was with the same company as the new domain).

    Also as I mentioned before, if you setup web-forwarding, you do not need to pay for hosting on both domains. Just on the new one only.

    BINGO!
    That's exactly what i was after Myser.
    Cheers for that.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 349.7K Banking & Borrowing
  • 252.6K Reduce Debt & Boost Income
  • 453K Spending & Discounts
  • 242.7K Work, Benefits & Business
  • 619.4K Mortgages, Homes & Bills
  • 176.3K Life & Family
  • 255.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 15.1K Coronavirus Support Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.