NodeSpell Docs
Nodes
Release Notes

Adding Custom Domain

NodeSpell2 years ago

After you successfully deployed your website, you can add custom domains to it, so that people can access your website using your own domain name.

Deployments have auto-generated domains under the nodespell.app domain, such as https://my-website.nodespell.app. These are meant to be temporary domains for testing purposes.

Once you are ready to take your website online, you can add custom domains to it, such as https://my-website.com.

Adding Custom Domain to Deployment

Adding a custom domain to a deployment is easy, you can do it from Main Menu > Project > Deployments:

Find your deployment, and click on the Add Domain To This Branch button.

You'll be prompted to enter the domain name, such as my-website.com and redirect URL.

If you set a redirect URL, then all requests to my-website.com will be redirected to the URL you set. This is useful if you want to redirect all requests to www.my-website.com to my-website.com, for example.

⚠️Caution

It can take up to 24 hours for the DNS records to propagate, so if you have just added a domain, it might take a while for the domain to be available.

Editing Custom Domain

After you have added a custom domain, you can edit it from Main Menu > Project > Domains:

Find the domain you want to edit, and click on the Edit button.

The domain editor will open, upon opening, it will check the DNS records of the domain, and show you the current status of the domain. If there is a misconfiguration or conflict, it will show you the error messages and how to fix them.

📣Caution

Having access to the domain is required to edit the domain, so make sure you have access to the domain before you add it to the project.

Removing Custom Domain

If you want to remove a custom domain for all branches it is attached to, you can do it from Main Menu > Project > Domains, find the domain you want to remove, and click on the Remove button.

If you want to remove a custom domain from a specific branch, you can do it from Main Menu > Project > Deployments, find the deployment you want to remove the domain from, and click on the Remove Domain On This Branch button.

~