Connect a domain
After deploying your site and making the necessary changes, it's time to connect your domain.
We have simplified the process as much as possible, breaking 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.
If you want to connect an APEX domain, you will need to use a (free) Cloudflare account, as they are the only ones that support CNAME flattening.
Add a CNAME record
In Cloudflare, I'll go to my project and click on DNS:
Add subdomain record (www)
Here is what an example configuration for adding a subdomain 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 ensure everything is set up correctly.
Add APEX record
Here is what an example configuration for adding an APEX CNAME record will look like:
- Type: CNAME
- Name: @
- Target: your static.studio subdomain
- Proxy Status: disabled (only relevant for Cloudflare)
Please click the Save button to save your settings and ensure everything is set up correctly.
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 may take some time for your website to become available under the new domain. Once it's complete, click on the small lock icon, and we will 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.