Custom Domains
Adding a custom domain
Cloud allows you to map custom domains that you own in a few simple steps.
-
Create DNS records from the dashboard of your domain provider. Follow one of the steps below:
Subdomain : To point a subdomain to your site, add a CNAME record pointing your subdomain to your site. For example, if you want to use
www.example.com
for your siteexample.frappe.cloud
then add CNAME record forwww.example.com
pointing toexample.frappe.cloud
. For the instructions to add such a record, please contact your domain provider.
Naked domain : To point a naked domain like
example.com
to your site, simply add an A record pointing to the IP address of your site. You can get this IP from Inbound IP of your dashboard
One caveat to adding naked domains is that you will have to update the DNS record if the IP of your site changes.
NOTE: Only add 1 record. If you're adding multple A records for the same domain, you're doing it wrong.
There are some DNS providers such as Cloudflare that allow adding CNAME records for naked domains. If so, you won't need an A record. Simply follow the same steps as in the Subdomain section above, replacing
www.example.com
withexample.com
.
-
After adding the DNS record, open your site dashboard.
-
From the site overview page, go to Domains card.
-
Click on Add Domain.
-
Enter the custom domain.
-
Click on Verify DNS.
-
If the verification succeeds, you have correctly added the CNAME record, and you will see Add Domain button. Click on Add Domain.
Note: We obtain an SSL certificate for the custom domain. So you will be able to use HTTPS with your domain.
Redirecting domains
In some cases, you may not want the user to see certain domains that direct you to your site. You may even want to hide your fancy .frappe.cloud domain that we provide. This is also possible.
-
You need to set one domain as primary domain. This is the domain where the "redirected domains" will redirect to
-
Next, you need to enable redirection for domains that you wish to hide
That's it. Your users will be able to access your site from the redirected domains, but they will be redirected to the primary domain which will show up in their address bar
This redirection will also prevent the redirected domains from appearing in search engine results.
FAQ
DNS verification failed even after adding DNS record on Cloudflare
Currently, the custom domains you add on Cloud don't work when Cloudflare proxy is enabled. Please use the
DNS only
option for your DNS record.
Note that if you have multiple A records and one of them is proxied all records will be proxied .