Connect a domain
After deploying your site and making the necessary changes, the time has come to connect your domain.
We tried to simplify the process as much as possible and break it down to adding a single DNS entry and clicking a button.
Add a domain
Head to your dashboard and click the second button in the actions column of the project you want to connect your domain:
A modal window will open, asking you to provide the domain name you want to add:
Connecting a domain involves two steps. First, you copy the CNAME record (iosj9iydi4naxz9.static.studio in this example) and add it to your DNS settings.
We are using Cloudflare for this tutorial, but the process should be easily replicable using your DNS tool.
Please ensure you add your domain with www. - apex domains aren't supported by default.
Add CNAME record
In Cloudflare, I'll go to my project and click on DNS:
The custom domain we want to connect is mystatic.site - or, more explicitly, www.mystatic.site.
Add the record
Here is what an example configuration for adding a CNAME record will look like:
- Type: CNAME
- Name: www
- Target: your static.studio subdomain
- Proxy Status: disabled (only relevant for Cloudflare)
Please click the save button to save your settings and make sure everything is set up.
Connect Domain
Back in your dashboard and to your Connect Domain settings, add the domain and click on Connect Domain:
Once the domain update is done, you will see the new URL in the URL column of your site:
Depending on your DNS server, it might take a while until your website is available under the new domain, but once it's finished, click on the little lock icon, and we issue an SSL certificate for you.
A quick note: We ONLY connect the custom domain to your static site. Your protected WordPress installation will still be served from the static.studio subdomain.