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.

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

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

  1. jimxms

    jimxms Registered

    Joined:
    Apr 25, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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

    Joined:
    Apr 22, 2012
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Utah
    cPanel Access Level:
    DataCenter Provider
    Sounds to me like you put the wrong IP in your hosts file
     
Loading...

Share This Page