Skip to main content
This page will show you how to configure your domain name on Cloudflare to work with mastodon.site.
The steps are the same whether you’re using a domain name root or a subdomain; we’ll show both for clarity.

Add DNS records

We use one DNS record for mastodon.site servers, to point your domain name to the actual server. You’ll need to add it to your domain name in Cloudflare.
  1. From the Cloudflare dashboard, choose the domain for your mastodon server
  2. From the menu on the left, go to DNS -> Records
  3. Click the Add record button; you’ll need to add the following record

Domain root

If you’re using a domain root (for example, https://mastodon.site)

Subdomain

If you’re using a subdomain (for example, https://social.mastodon.site) - replace the word social in the name of the record with the subdomain you’re using

Testing the DNS records

Once the record is set, it can take a short while for it to be available across the internet. You can use WhatsMyDNS.net to test that it’s working - you’ll see a green tick next to a list of IP addresses once it’s ready.