Set up nameservers in WHM: Difference between revisions
Docs admin (talk | contribs) No edit summary |
Docs admin (talk | contribs) Rewritten for current WHM and Acenet servers (WHM section refresh) |
||
| (14 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Nameservers tell the internet which servers hold a domain's DNS records. WHM adds the nameservers you set here to the DNS zone of every new account you create. | |||
'' | Setting nameservers in WHM doesn't change any domain's nameservers. Each domain must also be pointed to them at its registrar. See [[Change your domain's nameservers]]. | ||
== | == Reseller hosting == | ||
DNS for the accounts on our reseller servers is served by our nameservers: | |||
ns1.acenet-inc.net | |||
ns2.acenet-inc.net | |||
ns3.acenet-inc.net | |||
ns4.acenet-inc.net | |||
=== Check or change your nameservers === | |||
'''1.''' Log in to WHM. See [[Log in to cPanel and WHM from the Client Area]]. | |||
'''2.''' Go to '''Server Configuration''' > '''Basic WebHost Manager Setup'''. | |||
'''3.''' In the '''Nameservers''' section, enter your nameservers. | |||
'''4.''' Click '''Save Changes'''. | |||
The change applies to accounts you create from now on. Existing accounts keep the nameserver records already in their DNS zone. You can change those in '''DNS Functions''' > '''DNS Zone Manager'''. | |||
=== Use your own branded nameservers === | |||
You can use nameservers on your own domain, such as ''ns1.example.com'', so your clients see your name instead of ours. They're simply new names for our nameservers, so DNS keeps working the same way. | |||
'''1.''' Look up the IP address of each of our nameservers, for example with an online DNS lookup tool or this command: | |||
nslookup ns1.acenet-inc.net | |||
2) | '''2.''' At your domain's registrar, register ''ns1.example.com'' to ''ns4.example.com'' as nameservers (registrars also call them child nameservers, glue records or host records). Use the IP address of ''ns1.acenet-inc.net'' for ''ns1.example.com'', and so on. | ||
3 | '''3.''' In your domain's DNS zone, add an '''A''' record for each of the four names with the same IP addresses. | ||
4) | '''4.''' Enter the four names in '''Basic WebHost Manager Setup''', as above. | ||
[[Category:WHM | |||
Registrars store these IP addresses as you enter them, so they won't change if our nameservers' addresses ever do. If you'd rather not look after this, use ns1-4.acenet-inc.net. | |||
== Your own server (cloud or dedicated) == | |||
First decide where your domains' DNS will be hosted: | |||
* '''On your server.''' cPanel includes a DNS server. Create nameservers on one of your domains, such as ''ns1.example.com'' and ''ns2.example.com'', that point to your server's IP addresses. Use two different IP addresses if you have them. Because both nameservers are on the same server, your domains' DNS stops working if the server goes down. | |||
* '''With an outside DNS provider''', such as Cloudflare or your registrar. You then manage DNS records with that provider, and changes you make in WHM or cPanel don't take effect publicly. | |||
If you're not sure which one your server uses, please [[Open a support ticket|open a support ticket]]. | |||
=== Set up nameservers on your server === | |||
'''1.''' At your domain's registrar, register ''ns1.example.com'' and ''ns2.example.com'' as nameservers (child nameservers or glue records) with your server's IP addresses. | |||
'''2.''' Log in to WHM as root and go to '''Server Configuration''' > '''Basic WebHost Manager Setup'''. | |||
'''3.''' In the '''Nameservers''' section, enter the nameservers. Click '''Configure Address Records''' next to each one to create its '''A''' record on your server. | |||
'''4.''' Click '''Save Changes'''. | |||
To set different nameservers for a reseller on your server, use '''Resellers''' > '''Edit Reseller Nameservers and Privileges'''. See cPanel's [https://docs.cpanel.net/whm/server-configuration/basic-webhost-manager-setup/ Basic WebHost Manager Setup] and [https://docs.cpanel.net/whm/resellers/edit-reseller-nameservers-and-privileges/ Edit Reseller Nameservers and Privileges] documentation for details. | |||
New nameservers can take up to a day or two to work everywhere, while DNS caches around the internet update. | |||
[[Category:WHM]] | |||
Latest revision as of 10:26, 27 October 2026
Nameservers tell the internet which servers hold a domain's DNS records. WHM adds the nameservers you set here to the DNS zone of every new account you create.
Setting nameservers in WHM doesn't change any domain's nameservers. Each domain must also be pointed to them at its registrar. See Change your domain's nameservers.
Reseller hosting
DNS for the accounts on our reseller servers is served by our nameservers:
ns1.acenet-inc.net ns2.acenet-inc.net ns3.acenet-inc.net ns4.acenet-inc.net
Check or change your nameservers
1. Log in to WHM. See Log in to cPanel and WHM from the Client Area.
2. Go to Server Configuration > Basic WebHost Manager Setup.
3. In the Nameservers section, enter your nameservers.
4. Click Save Changes.
The change applies to accounts you create from now on. Existing accounts keep the nameserver records already in their DNS zone. You can change those in DNS Functions > DNS Zone Manager.
Use your own branded nameservers
You can use nameservers on your own domain, such as ns1.example.com, so your clients see your name instead of ours. They're simply new names for our nameservers, so DNS keeps working the same way.
1. Look up the IP address of each of our nameservers, for example with an online DNS lookup tool or this command:
nslookup ns1.acenet-inc.net
2. At your domain's registrar, register ns1.example.com to ns4.example.com as nameservers (registrars also call them child nameservers, glue records or host records). Use the IP address of ns1.acenet-inc.net for ns1.example.com, and so on.
3. In your domain's DNS zone, add an A record for each of the four names with the same IP addresses.
4. Enter the four names in Basic WebHost Manager Setup, as above.
Registrars store these IP addresses as you enter them, so they won't change if our nameservers' addresses ever do. If you'd rather not look after this, use ns1-4.acenet-inc.net.
Your own server (cloud or dedicated)
First decide where your domains' DNS will be hosted:
- On your server. cPanel includes a DNS server. Create nameservers on one of your domains, such as ns1.example.com and ns2.example.com, that point to your server's IP addresses. Use two different IP addresses if you have them. Because both nameservers are on the same server, your domains' DNS stops working if the server goes down.
- With an outside DNS provider, such as Cloudflare or your registrar. You then manage DNS records with that provider, and changes you make in WHM or cPanel don't take effect publicly.
If you're not sure which one your server uses, please open a support ticket.
Set up nameservers on your server
1. At your domain's registrar, register ns1.example.com and ns2.example.com as nameservers (child nameservers or glue records) with your server's IP addresses.
2. Log in to WHM as root and go to Server Configuration > Basic WebHost Manager Setup.
3. In the Nameservers section, enter the nameservers. Click Configure Address Records next to each one to create its A record on your server.
4. Click Save Changes.
To set different nameservers for a reseller on your server, use Resellers > Edit Reseller Nameservers and Privileges. See cPanel's Basic WebHost Manager Setup and Edit Reseller Nameservers and Privileges documentation for details.
New nameservers can take up to a day or two to work everywhere, while DNS caches around the internet update.