Newbie> Help needed in installing a fresh site

grasu

Registered
Jan 17, 2012
1
0
51
cPanel Access Level
Root Administrator
Hello

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?
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
27
143
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.

2. If so, do I need to create a ns?
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.

4. Where I need to point the nameservers at the registrar?
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.

1. Do I have to create an account in whm?
Yes.

3. How do I see the pages in /public_html of this account
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.