Ready-to-use DNS examples: your website, www, Google Workspace, Microsoft 365, domain verification and more.
These are the DNS records customers ask about most often. Add them in Domains → DNS Zones in HostPanel (see Managing DNS records). Replace example.com and the example IP address with your own.
Your website
| Purpose | Type | Name | Value |
|---|---|---|---|
| Domain points to your hosting | A | @ | your server's IP address |
| www works too | CNAME | www | example.com |
| Subdomain hosted elsewhere | CNAME | shop | the address your provider gives you |
Your server's IP address is shown in the Quick Stats card on your HostPanel dashboard.
Email with Google Workspace
| Type | Name | Value | Priority |
|---|---|---|---|
| MX | @ | smtp.google.com | 1 |
| TXT | @ | v=spf1 include:_spf.google.com ~all |
Email with Microsoft 365
| Type | Name | Value | Priority |
|---|---|---|---|
| MX | @ | the address Microsoft gives you, ending in mail.protection.outlook.com | 0 |
| CNAME | autodiscover | autodiscover.outlook.com | |
| TXT | @ | v=spf1 include:spf.protection.outlook.com -all |
When you move email to Google or Microsoft, delete the old MX records that point to your Twerple mail server, otherwise some messages may still arrive here. See Using Google Workspace or Microsoft 365 with your domain.
Proving you own the domain
Services such as Google Search Console, Facebook and Microsoft ask you to add a TXT record to prove the domain is yours. Add a TXT record with the name they give you (often @) and paste their text exactly as the value. Keep the record afterwards; some services check it again later.
Allowing SSL certificates (CAA)
A CAA record lists which companies may issue SSL certificates for your domain. You do not need one. If you add one, include Let's Encrypt, or your free certificate will stop renewing:
Type: CAA Name: @ Value: 0 issue "letsencrypt.org"
Only one SPF record
A domain must have only one TXT record that starts with v=spf1. If you send email through several services, combine them into one record. See SPF, DKIM and DMARC explained.