Configuring DNS for your cPanel domain
You've built a site in Linux Hosting and are ready to go live. To make your site accessible to the web, you'll need to make sure DNS is properly configured. Usually DNS changes will propagate within a few hours, but it can take up to 48 hours for everything to propagate across the internet.
1: Find your nameservers and where you manage DNS
Before making any change, check your nameservers to make sure you're updating DNS at the correct location. Your nameservers will indicate the hosting company you should use to manage your domain's DNS.
- Domains registered at GoDaddy: View your nameservers in your GoDaddy account.
- Domains registered elsewhere: Contact your domain registrar for information.
2. Web hosting DNS
Go to your DNS host and ensure these records are pointed appropriately so your Linux Hosting site can be accessible through the web.
Type | Name | Data |
---|---|---|
A | @ | Your Linux Hosting IP address |
CNAME | www | Your domain name (for example, coolexample.com) |
3. (Optional) Mail DNS
If you plan to host email at your Linux Hosting, ensure these records are pointed appropriately at your DNS host.
Type | Name | Data |
---|---|---|
A | Your Linux Hosting IP address | |
MX | @ | mail.[your domain name] (for example, mail.coolexample.com) |
TXT | @ | v=spf1 include:secureserver.net -all |
TXT | admin | v=spf1 include:secureserver.net -all |
CNAME | webmail | Your domain name (for example, coolexample.com) |
3. (Optional) Miscellaneous DNS
Adding these records at your DNS host can be helpful for specific Linux Hosting features to work, but are not needed for basic web and email hosting.
Type | Name | Data |
---|---|---|
A | admin | Your Linux Hosting IP address |
CNAME | autoconfig | Your domain name (for example, coolexample.com) |
CNAME | autoconfig.admin | Your domain name (for example, coolexample.com) |
CNAME | autodiscover | Your domain name (for example, coolexample.com) |
CNAME | autodiscover.admin | Your domain name (for example, coolexample.com) |
CNAME | cpanel | Your domain name (for example, coolexample.com) |
CNAME | ftp | Your domain name (for example, coolexample.com) |
CNAME | webdisk | Your domain name (for example, coolexample.com) |
CNAME | webdisk.admin | Your domain name (for example, coolexample.com) |
CNAME | whm | Your domain name (for example, coolexample.com) |
CNAME | www.admin | Your domain name (for example, coolexample.com) |
CNAME | _domainconnect | _domainconnect.gd.domaincontrol.com. |
Type | Service | Protocol | Name | Priority | Weight | Port | Value |
---|---|---|---|---|---|---|---|
SRV | _autodiscover | _tcp | @ | 0 | 0 | 443 | cpanelemaildiscovery.cpanel.net |
SRV | _autodiscover | _tcp | admin | 0 | 0 | 443 | cpanelemaildiscovery.cpanel.net |
4. Remove conflicting DNS
If you have DNS records with identical type and name combinations to your Linux Hosting, we recommend removing these conflicts. For example:
Type | Name | Data | Action |
---|---|---|---|
A | @ | Your Linux Hosting IP address | Add this record |
A | @ | A different IP address | Remove this record |