UnderHost
Knowledgebase Docs

Managing DNS in Cloudflare for UnderHost hosting

Move your domain's DNS to Cloudflare, configure A, CNAME, and MX records for your UnderHost hosting, and understand the proxy (orange cloud) vs DNS-only modes.

On this page

When you use Cloudflare, your domain's nameservers point to Cloudflare rather than UnderHost. Cloudflare then hosts your DNS zone and proxies traffic through its network. This is what enables CDN, DDoS protection, and firewall features.

Move DNS to Cloudflare

  1. Create a Cloudflare account and add your domain
  2. Cloudflare scans and imports existing DNS records
  3. Review and confirm the imported records are correct
  4. Update your domain's nameservers at your registrar to the Cloudflare nameservers shown (e.g., anna.ns.cloudflare.com)
  5. Wait for nameserver propagation (up to 24 hours)

Configure records for UnderHost

After moving to Cloudflare DNS, your records should look like this (replace the IP with your server's IP from CustomerPanel):

TypeNameValueProxy
A@Your server IPProxied (orange cloud)
AwwwYour server IPProxied (orange cloud)
MX@mail.yourdomain.com (or your mail server)DNS only (grey cloud)
AmailYour server IPDNS only-must NOT be proxied for email
TXT@SPF recordDNS only

Proxy vs DNS-only

Each DNS record in Cloudflare can be either Proxied (orange cloud) or DNS only (grey cloud):

Proxied (orange cloud)DNS only (grey cloud)
Traffic routingThrough Cloudflare networkDirect to your server
Server IP hiddenYes-visitors see Cloudflare IPsNo-real IP is visible
CDN / cachingActiveNot active
DDoS protectionActiveNot active
Use forWeb (A, CNAME for HTTP/HTTPS)Email, FTP, SSH, non-HTTP services

Email records with Cloudflare

Email traffic never goes through Cloudflare's proxy-MX records always resolve directly. However, you must ensure the mail A record (used by mail.yourdomain.com) is set to DNS only (grey cloud). If it's proxied, email clients connecting to port 25/465/587 will fail because Cloudflare only proxies web ports (80, 443).

Was this article helpful?

DNS configuration help

Contact us if you need help configuring DNS records or moving to Cloudflare.

Related articles

Back to Cloudflare