This guide discusses the methods to connect a custom domain to your Webstudio site. You can configure a custom domain automatically without leaving the Webstudio Builder or manually by via your domain registrar/DNS host.
You can also publish your site on the default Webstudio subdomain, as a staging environment.
You can also publish your Webstudio site to a custom domain by going to the “Publish” tab and clicking “Add a new domain”.
After entering your root domain in the resulting input field, you need to configure your domain manually or automatically with Entri.
You can configure your custom domain manually by adding the CNAME and TXT records from Webstudio into your domain providers DNS settings.
Generate the CNAME and TXT records by adding your root domain in the Publish tab.
Copy the CNAME value from the Webstudio.
Open your DNS settings page from your domain provider and add a new record.
Copy the Type, Name and Target (VALUE) from Webstudio's Publish tab.
Save the record you created and repeat the process to create a new DNS record for TXT.
On Webstudio, recheck the status and publish your site.
It is important to note that DNS propagation can take up to 48 hours to complete.
Using the "Entri" option makes configuring your domain extremely simple — no puzzling registrar UIs. You can do it without leaving Webstudio Builder in just a couple of clicks.
After you have added your root domain to the publish tab, click “Configure automatically with entri”.
Click “Continue” on the Entri configurator. This process will analyze your root domain and detect your DNS settings.
Click on the Authorize button to redirect you to your DNS Provider site. Log in, if required, and approve the configuration.
Return to Webstudio and complete the setup.
Wait 10 minutes for the DNS change to apply. Then check if everything is setup correctly by clicking the “Check status” button inside the “Publish” tab.
Once your site is live, you can visit it by clicking the Preview icon next to the green checkmark.
While the domain configuration process works perfectly for modern DNS providers like Cloudflare, it is slightly different for older platforms who only allows for CNAME records to be added to a subdomain.
There are two workarounds to this:
The easiest way to work around the CNAME limitation is to switch your DNS control over to a provider like Cloudflare. This process takes about 10 minutes and once you have migrated, you can use the original process to configure it manually or via Entri.
To publish your site on a “www.” subdomain and continue using the original DNS controls provided by your domain registrar, follow this process:
Add your “www.MySite.com” domain in the Publish tab (replace "MySite.com" with your domain name).
Add the CNAME and TXT records provided by Webstudio to your DNS settings.
Create a redirect from the primary domain to the “www” subdomain.
Every Webstudio project comes with a subdomain ending in "wstd.io". You can use this subdomain as your site’s staging environment. To publish your page on the Webstudio subdomain:
Go to the “Publish” tab at the top right of your canvas.
Click the “Publish” button to launch your site.
To remove a domain from Webstudio:
Go to the “Publish” tab on the right.
Click your domain to select it.
Click on “Remove domain”.
This will remove the domain from the Publish tab.
You can export your published site to your local machine and continually sync it with the cloud, using the Webstudio CLI.
The Webstudio CLI helps you to sync and build projects from Webstudio Cloud. You can also use the CLI to publish your site on Vercel. We plan to add more deployment targets in the future.
To learn more about the Webstudio CLI and how you can set it up in your computer, read the documentation here.
You can also watch the video about the Webstudio CLI here.