Chat on Slack

Custom domain with cloudflare

If your domain is using Cloudflare's Nameservers and you plan to use it as a custom domain on your status page, you may need some minor steps to ensure the domain will work correctly. Here is how to start:

1. Login to your status page

Login to your status page at instatus.com/login. Then, select your status page.

2. Upgrade to Pro

Custom domains is a Pro feature. If you're not on a Pro plan, click Upgrade on your status page navigation.

3. Add your custom domain

  • Go to your page tab.
  • Add your custom domain, like status.nasa.gov. Replace nasa.gov with your own domain.

4. Setup your DNS



Cloudflare specific setup

Without Proxy (DNS only)

This is the recommended way to guarantee the speed and reliability of your domain since the DNS resolution will go directly to Vercel (Instatus host) without an intermediary.

HOST (NAME)POINTS TO (VALUE)TTL
statuscname.instatus.comLeave the default

You can do this on most registrars by doing the following steps:

  1. Go to your domain settings page.
  2. Manage DNS.
  3. Add a record.
  4. Choose CNAME record type.
  5. Choose the HOST. Typically status, but you can choose any host, and it'll be your subdomain.
  6. Points to will be: cname.instatus.com
  7. Leave the TTL as the default value

With Proxy

A Cloudflare proxy works as an intermediary between your domain and Vercel, which is Instatus hosting provider. We don't recommend that you enable the Cloudflare proxy unless you have specific constraints for your project since it will introduce a minor performance penalty to your website due to the additional hop.

You need to insert a CNAME or ALIAS record with the value cname.instatus.com If your domain does require the Cloudflare's proxy to be turned on by default, only one requirement is needed: The domain must allow HTTP requests (without HTTPS) to the path /.well-known/*.

To verify if that is possible with your domain, you can run the following command (notice the http:// part in the URL):

curl http://example.com/.well-known/acme-challenge -I

A configuration that does allow Vercel (Instatus host) to run smoothly would return the following:

curl http://example.com/.well-known/acme-challenge -I
HTTP/1.1 404 Not Found

If you run the curl command and receive a 3XX redirect instead, Cloudflare is preventing this route from being accessed, and the domain won't be configured correctly:

curl http://example.com/.well-known/acme-challenge -I
HTTP/1.1 308 Moved Permanently

You need to explore the following configuration in the Cloudflare dashboard:

Page Rules — You can disable HTTPS for the path /.well-known/**.

Always use HTTPS — This configuration is under the "SSL/TLS" tab and it may affect your page rules.

Other Configurations — Cloudflare can offer multiple settings and this will directly affect the ability to generate certificates.

Done! 🚀

Congratulations! You can now start to use your custom domain. The first visit may take a bit to load, then it'll work perfectly!

Start here
Get your status page or login

Learn more
Check help and pricing

Talk to a human
Chat on slack or send an email

Compare
Statuspage vs Instatus

Community
Open startuptwitter, and blog

Instatus HQ
Privacy & terms – We're hiring!

© 2021 Instatus, Inc