Linux Hosting (cPanel) Help

Configuring DNS for your Web Hosting (cPanel) domain

You've built a site in Web Hosting (cPanel) 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.

Warning: This article covers an advanced technical topic. If the steps are completed incorrectly, it's possible to make unwanted changes to your site. Before making changes, we recommend exporting your DNS or taking a screenshot of your DNS records as a backup. Review the Statement of Support to learn more about support for GoDaddy products and services.

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 (cPanel) DNS

Go to your DNS host and ensure these records are pointed appropriately so your Web Hosting (cPanel) site can be accessible through the web.

TypeNameData
A@Your Web Hosting (cPanel) IP address
CNAMEwwwYour domain name (for example, coolexample.com)
Note: DNS hosts can vary with their labeling and formatting. We recommend contacting your DNS host if you're unsure how to proceed because their requirements look different from these example records.

3. (Optional) Mail DNS

If you plan to host email at your Web Hosting (cPanel), ensure these records are pointed appropriately at your DNS host.

TypeNameData
AmailYour Web Hosting (cPanel) IP address
MX@mail.[your domain name] (for example, mail.coolexample.com)
TXT@v=spf1 include:secureserver.net -all
TXTadminv=spf1 include:secureserver.net -all
CNAMEwebmailYour domain name (for example, coolexample.com)
Note: The priority determines which record to contact first when multiple MX records exist on the domain. A lower number means more preferred, and the record with the lowest priority will be used first. For single MX record settings, set the priority to 0 (zero). Add an MX record

3. (Optional) Miscellaneous DNS

Adding these records at your DNS host can be helpful for specific Web Hosting (cPanel) features to work, but are not needed for basic web and email hosting.

TypeNameData
AadminYour Web Hosting (cPanel) IP address
CNAMEautoconfigYour domain name (for example, coolexample.com)
CNAMEautoconfig.adminYour domain name (for example, coolexample.com)
CNAMEautodiscoverYour domain name (for example, coolexample.com)
CNAMEautodiscover.adminYour domain name (for example, coolexample.com)
CNAMEcpanelYour domain name (for example, coolexample.com)
CNAMEftpYour domain name (for example, coolexample.com)
CNAMEwebdiskYour domain name (for example, coolexample.com)
CNAMEwebdisk.adminYour domain name (for example, coolexample.com)
CNAMEwhmYour domain name (for example, coolexample.com)
CNAMEwww.adminYour domain name (for example, coolexample.com)
CNAME_domainconnect_domainconnect.gd.domaincontrol.com.

TypeServiceProtocolNamePriorityWeightPortValue
SRV_autodiscover_tcp@00443cpanelemaildiscovery.cpanel.net
SRV_autodiscover_tcpadmin00443cpanelemaildiscovery.cpanel.net

4. Remove conflicting DNS

If you have DNS records with identical type and name combinations to your Web Hosting (cPanel), we recommend removing these conflicts. For example:

TypeNameDataAction
A@Your Web Hosting (cPanel) IP addressAdd this record
A@A different IP addressRemove this record

More info

Share this article