Table of Contents
Configuring DNS for your cPanel domain
Updated Mar 7th at 11:47 GMT
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.
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.
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 tsoHost: View your nameservers in your tsoHost 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) |
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 Linux Hosting, ensure these records are pointed appropriately at your DNS host.
Type | Name | Data |
---|---|---|
A | Your Linux Hosting | |
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) |
4. (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 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 |
5. 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 | Add this record |
A | @ | A different IP address | Remove this record |