For anyone familiar with Cloudflare, you may have found it odd when you tried using a vanity domain on Exposure, and were notified a proxy in front of it would not work.
This guide will walk you through how to put Exposure behind Cloudflare’s proxy when using a custom domain.
- In the Expsoure dashboard, under Preferences → Site Preferences click on “Setup a Domain”, and choose whether you would like to use a subdomain, or the root domain (both will work for this guide)
- You will be given a DNS record:
- If you chose subdomain, you will be presented with the following CNAME record to add to your DNS: domains.exposure.co
- If you chose the root domain, you will be given an IP address (A record)