DNS records tell the internet where your website and email live. You can edit them in cPanel (Zone Editor) or StackCP (Manage DNS) after your nameservers point to us.
The most common records
| Record | What it does | Example |
|---|---|---|
| A | Points a name to a server IP address (your website). | yourbrand.com → your server IP |
| CNAME | Makes one name an alias of another name. | www → yourbrand.com |
| MX | Tells other servers where to deliver your email. It points directly to the mail server. | the mail server shown in your control panel |
| TXT | Holds text values, for example SPF, DKIM and DMARC for email. | v=spf1 ... |
The exact A record and MX values for your account are shown in your control panel (StackCP DNS settings or cPanel Zone Editor). If you are not sure which values to use, open a support ticket.
Where do I edit DNS records?
- First make sure your nameservers point to us (see the related articles).
- Log in to your hosting control panel.
- In cPanel, open Zone Editor. In StackCP, open Manage DNS.
- Add a new record, edit an existing one, or remove a record you no longer need.
- Save the change.
- Wait from 30 minutes up to a few hours for the change to work everywhere.
Important: If your domain uses Cloudflare or another DNS provider, the records are changed there, not in your hosting control panel.
Important — using Cloudflare? Your domain can stay on Cloudflare. In your mail app, connect directly to the mail servers: imap.stackmail.com and smtp.stackmail.com for StackCP and Business Email, or your server hostname for cPanel (see Email Accounts > Connect Devices in cPanel). Do not use mail.yourdomain.com while the domain is behind the Cloudflare proxy. In Cloudflare DNS, set all mail records (the MX target, mail, imap, smtp, pop3, webmail and similar) to DNS only (grey cloud). Email does not work through the proxy (orange cloud).
VPS and dedicated servers
For Managed, Self-Managed or Dedicated servers, contact support to get the correct nameserver details.
Tip: Not sure what to change? Open a ticket. Support can add mail records (SPF, DKIM, DMARC, MX) for you.