Live Chat

We'll need to share your messages (and your email address if you're logged in) with our live chat provider, Drift. Here's their privacy policy.

If you don't want to do this, you can email us instead at

Anvil DNS Guide
« Anvil Cookbook

Using A Custom Domain Name

We host Anvil apps at public addresses in the domain But you can use any domain name for your app.

The first step is to purchase your domain from a domain registrar. A complete list of domain registrars is available from ICANN.

When you have purchased your domain, configure an A record pointing it to Anvil’s IP address:

If you wish to use a subdomain of the domain you purchased (such as, you can simply configure an A record pointing that subdomain to the IP address above. To configure a subdomain, just enter the subdomain in place of the @ symbol when configuring the A record.

If you want to use as well as, you can configure a second A record for www.

DNS changes take a while to propagate around the internet, so you may need to wait up to 48 hours before your changes fully take effect.

Google Domains

Google Domains refers to the record you need to create as a ‘Custom Resource Record’.

Google Domains and Synthetic Records

Advanced note: If you’re using a Synthetic Record as a redirect, you need to enable SSL. This because Anvil uses HSTS to enforce SSL as part of its security model (so non-SSL connections will not work by design).


In the GoDaddy DNS Management page for your domain, you can create an A record in the ‘Records’ card:


In Cloudflare’s DNS settings tab, add an A record in the ‘add record’ tool.

Cloudflare and SSL

The cloud icon next to the ‘add’ button toggles Cloudflare’s CDN and other features on or off. Anvil apps will work with either setting. If you’re using Cloudflare’s SSL support, you need change the SSL Support setting from ‘Flexible’ to ‘Full Strict’. See this article from Cloudflare for more info. It will take a few minutes to take effect.