UnderHost
Knowledgebase Docs

How to configure DNS for your domain

Point your domain to UnderHost by updating nameservers or individual DNS records. This guide covers A, AAAA, CNAME, MX, and TXT records with practical examples.

On this page

There are two ways to point a domain at UnderHost: update your nameservers (easiest, most complete) or manage individual DNS records at your registrar. This guide covers both methods and explains each record type along the way.

Which method should I use?

If UnderHost is your only hosting provider for this domain, change the nameservers-it's simpler and gives our system full control. If you're splitting DNS (e.g. email at one provider, website at another), manage individual records instead.

Option 1-Update your nameservers

Nameservers tell the internet which DNS provider is authoritative for your domain. Pointing them to UnderHost delegates all DNS management to us.

Find your UnderHost nameservers

Your nameservers are shown in your welcome email and in CustomerPanel under your hosting service details. The standard UnderHost nameservers are:

Hosting typeNameserver 1Nameserver 2
Shared Hosting (Canada)ns01.underhost.comns02.underhost.com
Offshore Hostingdns1.underhost.comdns2.underhost.com
VPS / DedicatedCheck your welcome email-varies by server

Update nameservers at your registrar

  1. Log in to your domain registrar

    Go to your registrar's control panel (e.g. GoDaddy, Namecheap, Google Domains, or wherever you registered the domain).

  2. Find DNS / Nameserver settings

    Look for "DNS", "Nameservers", or "Domain Management". Choose the option to use custom nameservers rather than the registrar's default ones.

  3. Enter UnderHost nameservers

    Replace any existing nameservers with the two UnderHost nameservers shown above. Remove any extra nameserver entries if the form allows more than two.

  4. Save and wait for propagation

    Save your changes. Propagation typically takes 1–4 hours but can take up to 48 hours in rare cases. See DNS propagation explained to track progress and understand propagation globally.

Option 2-Manage individual DNS records

If you're keeping your current DNS provider but want to point specific records at UnderHost, you'll add or edit records manually. You'll need your UnderHost server IP address, which appears in cPanel under Server Information.

Point your website to UnderHost

Add or update the A record for your root domain (@) and the www subdomain:

NameTypeValueTTL
@ (root)AYour UnderHost server IP3600
wwwA or CNAMEYour IP, or yourdomain.com3600

Point email to UnderHost mail servers

To receive email through your UnderHost account, add an MX record:

NameTypeValuePriority
@MXmail.yourdomain.com0

DNS record reference

TypePurposeCommon use
AMaps a hostname to an IPv4 addressPoint domain to server
AAAAMaps a hostname to an IPv6 addressIPv6 hosting
CNAMEAlias-points one hostname to anotherwww → root domain
MXSpecifies mail servers for a domainEmail delivery
TXTArbitrary text, used for verification and email authSPF, DKIM, DMARC, domain verification
NSDelegates a domain to nameserversNameserver delegation
CAARestricts which CAs can issue SSL certificatesSSL security
CNAME restriction

You cannot use a CNAME on the root domain (@) alongside other records like MX. Use an A record for the root domain and CNAME only for subdomains.

DNS propagation

After any DNS change, resolvers around the world need time to update. The delay depends on the record's TTL (Time To Live) value-lower TTL means faster propagation.

Speed up propagation

Before a planned lower your TTL to 300 seconds (5 minutes) at least 24 hours in advance. After the change, resolvers refresh quickly and your cutover window shrinks to minutes.

See DNS propagation explained to check the current DNS state from multiple locations worldwide.

Troubleshooting

Your local DNS cache may still hold the old record. Wait for TTL to expire, or flush your local cache: on Windows run ipconfig /flushdns, on macOS run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. Also check propagation from global resolvers using our tool.
After switching nameservers, all DNS records are now managed by UnderHost. Verify that your MX records exist in cPanel's Zone Editor and that SPF and DKIM are configured correctly. See Why is my email going to spam? for the full deliverability setup.
After DNS propagates to the new server, AutoSSL will automatically issue a new Let's Encrypt certificate for your domain. This can take up to 30 minutes. If the error persists, see Fix SSL not working.
Log in to CustomerPanel, go to your active hosting service, and look under Service Details or the Welcome Email. If you can't find them, open a support ticket and we'll confirm the correct nameservers for your account.

Related: DNS record types explained-A, CNAME, MX, TXT, and more | What is DNS propagation and how long does it take? | What nameservers should I use for UnderHost? | How to point a domain to UnderHost hosting

Was this article helpful?

Need DNS pointed to UnderHost?

Order hosting first, then use your service details to update nameservers, A records, email records, and SSL correctly.

Related articles

Back to Domains & DNS Fix SSL not working