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!

Newbie> Help needed in installing a fresh site

Discussion in 'General Discussion' started by grasu, Jan 17, 2012.

  1. grasu

    grasu Registered

    Jan 17, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    First, I'm sorry if I'm posting in the wrong forum.

    I got a new VPS (contos, whm/cpanel, 1IP) and I'm trying to move an existing site from shared hosting to this new VPS. I want to first move the site and test it and afterwards change the ns records on registrar.

    Tryied so far:

    1. Create an account
    2. Logged to cpanel for that account, put a file in /public_html (index.php), and never been able too see it :) (tryied: http://IP, http://IP/~username)
    3. Tryied to create a ns but the system said it run out of IPs

    Questions follow:

    1. Do I have to create an account in whm?
    2. If so, do I need to create a ns?
    3. How do I see the pages in /public_html of this account
    4. Where I need to point the nameservers at the registrar?
  2. cPanelJared

    cPanelJared Technical Analyst

    Feb 25, 2010
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I would like to address your question in the order of importance, instead of in the order you asked them. I think there is some confusion about the order in which things should be done, and I would like to try to help clarify.

    This depends on whether you want to run your own nameservers. You can run your own nameservers on your server, or you can use a third-party DNS server for your domain names. However, if you do not run your own nameservers on your server, then every time you make a change that would affect DNS settings (adding or removing a domain, for example), you will need to make a change in the external DNS service, because cPanel does not interface with third-party DNS services.

    If you want to run your own nameservers, you need to register two IP addresses as nameservers at your domain registrar, and add NS and A record for those nameservers to the domain's DNS zone on your server.

    That depends on whether you want to run your own nameservers, or use a third-party DNS service. The nameservers you set for the domain at the registrar, need to be set to the authoritative nameservers for the domain, that is the nameservers that actually contain records for the domain.


    Once you have the domain resolving to the IP address on which it is configured in the WebHost Manager, you will be able to browse it by typing in the domain name.

    However, it sounds like you are not to that point yet. The first thing you need to do is decide whether you want to run your own nameservers or use a third-party DNS service.

    Have you even created an account for your domain yet? You will do this in the WebHost Manager. This, and setting up nameservers, if you want to run your own nameservers, should be your first tasks on a new server.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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