DNS records and Cloudflare settings for a hosted site
When a hosted site uses Cloudflare (set with Add to Cloudflare in the setup wizard), you can manage its DNS records and main Cloudflare settings from the Hosting page. You do not need to log in to Cloudflare.
Before you start
Section titled “Before you start”These tools appear only for sites set up with Cloudflare DNS. If you chose Update DNS Manually, manage DNS at your own DNS provider.
Manage DNS records
Section titled “Manage DNS records”- Open Hosting in the sidebar.
- Click Manage DNS Records on the site.
The list shows each record’s Type, Name, Content, TTL and Proxy status. Use Edit Record or Delete Record on a row.
To add a record:
- Click Add Record.
- Pick the Type: A, AAAA, CNAME, MX, TXT, NS or SRV.
- Enter the Name. Use
@for the root domain, or enter a subdomain. - Enter the Content (for example an IP address or a target hostname).
- Pick a TTL (Auto, or from 1 minute to 1 day).
- For MX and SRV records, set the Priority. A lower value means a higher priority.
- Turn on Proxy through Cloudflare to route traffic through Cloudflare for CDN and security.
- Click Save Record.
Change Cloudflare settings
Section titled “Change Cloudflare settings”- Click Cloudflare Settings on the site.
- Change any of these:
- SSL/TLS Mode: how Cloudflare handles SSL between visitors and your server. Choose Off, Flexible, Full or Full (Strict).
- Development Mode: bypasses the Cloudflare cache. It turns itself off after 3 hours.
- Always Use HTTPS: redirects all HTTP requests to HTTPS.
Each change applies as soon as you make it.
Troubleshooting
Section titled “Troubleshooting”- “Name and content are required” Fill in both fields.
- “This instance is not configured with Cloudflare DNS” The site uses manual DNS. Change records at your DNS provider.
- “This domain is managed under your own Cloudflare account, but no Cloudflare API token is connected. Reconnect your token in Cloudflare Settings to manage DNS.” Save your Cloudflare token again. See Use your own Cloudflare account.
- “Failed to create DNS record: …” The rest of the message is Cloudflare’s reason, for example a record that already exists.