The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Domain name forwarding [moved]

Discussion in 'General Discussion' started by ravenfire, Oct 4, 2006.

  1. ravenfire

    ravenfire Registered

    Joined:
    Oct 4, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi. I have .co.uk working on my site at the moment and also want .net to go to the .co.uk address, could you tell me the best way of doing that please

    Thanks
     
  2. designeru

    designeru Well-Known Member

    Joined:
    Nov 2, 2005
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Opinion...

    I'm not sure there is a best way of doing this.

    My idea is:
    - create a DNS zone for your .net domain
    - point it from your registrar to your .co.uk ip

    The best way of doing this, i think should be:
    - creating a new account domain.net
    - copy and modify all files from .co.uk so they match the new domain

    ... but it's just an opinion ;).
     
  3. tuxfan

    tuxfan Member

    Joined:
    Oct 1, 2006
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    between chair and keyboard
    Since you are in this forum, I assume that its on cPanel.

    Just park the .net domain in the .co.uk account. Anybody visiting the .net site will see the same set of pages :)

    However, if you want someone to be "forwarded" to .co.uk then use the "add-on domain" feature. Add .net and specify its home folder. In that folder create a index.html file with the following code:

    Code:
    <html><head></head>
    <body onload="window.location='http://www.yoursite.co.uk';"></body>
    </html>
    
    There is one difference between the above 2 solutions. In the first one, the site visitor will see the .net domain in his browser address bar. In the second one, he will see .co.uk.
     
Loading...

Share This Page