Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cpanel novice + addon domains + DNS + hosts file = fail

Discussion in 'Bind/DNS/Nameserver' started by jimxms, Apr 25, 2012.

  1. jimxms

    jimxms Registered

    Apr 25, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Reseller Owner
    Hi Guys,

    Firstly I am total cpanel novice so please be gentle!

    I am transferring a website from my server (nginx, debian, no fancy control panels) to its new owner who has their own WHM VPS server. They have provided me with both the root logins and also the login details for their main 'user' account so that I can do the transfer for them.

    My intention was to transfer my website to their server, set everything up in the background and then when I was sure it was all ready to go live, switch over the DNS to point to their server.

    The first hurdle I came across was that it would not let me add a new 'addon domain' which was not using his DNS servers. After a bit of research I got around this by changing the 'allow remote domains' under the root admin area.

    Now that I've managed to add the 'addon domain' and it has created a folder for it underneath his main /home/username/www directory, I cannot seem to access any files (html or php) I place in there.

    I've changed the hosts file on my own PC to resolve the domain name to his server (rather than going through dns to resolve to mine), but all I am presented with when I try to visit the website is a "Default Website Page" even if I try to access files I know that are on there.

    What am I doing wrong? I don't want to point the domain to his server until I can be 100% sure that the website is ready to go live.
  2. NetMantis

    NetMantis BANNED

    Apr 22, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider
    Sounds to me like you put the wrong IP in your hosts file

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice