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.

Need help with DNS Zone Settings and Redirections

Discussion in 'Bind / DNS / Nameserver Issues' started by Netacon, Apr 9, 2013.

  1. Netacon

    Netacon Registered

    Joined:
    Apr 9, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi,

    I really need help with my website and domain.

    So, I recently bought a domain and web hosting, and I put all the web hosting DNS server details onto my domain settings. My domain and web hosting are now linked together, but now I need help.

    I am setting up a game website, and my game server has a completely different IP to my web hosting, but I would like to have a A Record of 'domain.com' pointing to my game server. I would like it so my actual website is on 'www.domain.com', and that in a browser 'domain.com' redirects to 'www.domain.com'.

    Would this be possible? It's not vital, but I would love it to be like so.

    If this is possible, PLEASE tell me how to do this.

    Any replies would be greatly appreciated. :)
    Thanks!
     
  2. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    'domain.com' represents the main A record for your domain, by default other items in your domain's DNS zone may hang off this record as CNAMES. In order to redirect web requests for 'domain.com' to 'www.domain.com' if you did this, you'd need to have some sort of web server software running on your game server.

    As such - it might be simplest to create a new A record i.e. ut2004.domain.com or whatever and use this to point to your game server...
     
Loading...

Share This Page