Skip to main content

Setting up new domain account dedicated server and pointing namerservers, A records etc.?

Comments

4 comments

  • cPanelMichael
    Hello :) You can only create name servers at the registrar for domain names that you have control of. Thus, you would have to create the name servers for the domain name that you are creating the account for with IP addresses added to your server. Then, on the cPanel server, modify the default name servers used in the DNS Zones of new accounts via: "WHM Home " Server Configuration " Basic cPanel & WHM Setup" You can also add the "A" records for these name servers through this interface. Note: The advice to not use a real domain name for your server's hostname is not accurate. Your hostname should be valid and resolve to an IP address associated with your server. It should not be a standalone domain name, or one you plan to create an account for, but instead a subdomain of such a domain name. EX: server.your-hosting-domain.com Thank you.
    0
  • nrider321
    Thank you very much Michael for the detailed response. Can you tell me if the following is correct then? 1) So I register the domain I want, and then change the A record at registrar to point to the ip of the server.. this being the ip assigned to the new cpanel domain account created through whm. 2) Then if I wish to not use the domain registrars namesevers, I can setup my own private nameserver in WHM which must include the same domain name I registered as the actual name..ex. ns1.actualregistereddomain.com. I can then assign some of the extra ip addresses I have as A records or some third party ip for redundancy should the actual server go down. 3) Regarding the placeholder domain name..basically at the time of getting the server, I didn't know exactly what registered domain that I had was going to used for production site..so made up a placeholder name. I had read afterwards that it was not necessarily a good idea to host a production site on the root ip and so my plan instead of changing hostname or root ip to a registered domain didn't seem necessary since I have extra ip addresses. Instead I thought I would just to create the new cpanel account (for registered domain) with one of the extra ip addresses I have with the server package. Do you think this is a bad idea to leave the hostname setup the way it is even though I am looking to run actual production site on the other available ip addresses? Should I just rename it to server1.actualregistereddomain.com even though that registered domain live site is running on a different server ip? If you would answer these new questions I would again really appreciate it. Thank you.
    0
  • cPanelMichael
    1. Yes, this is fine for the first step, but changing the "A" record at the registrar is not necessary unless you want it to resolve before updating your name servers. 2. This is accurate, except using an IP address from another server is only recommended if you have configured a DNS cluster. 3. It's fine to assign an account to the main shared IP address of the server. It's important to use a real hostname so that services such as email are not adversely effected when mail is sent to remote servers. That being said, the hostname should not be a subdomain that you are hosting. Thus, it's fine to use 123.host.name as your hostname, even if host.name is created as an account. However, you would not want to use 123.host.name as your hostname if 123.host.name was added as an account. Thank you.
    0
  • nrider321
    Great thank you.
    0

Please sign in to leave a comment.