Appwrite Sites, the open-source Vercel alternative, is now available to all organizations. Of course, with hosting comes the next step of connecting custom domains. In this article, we’ll walk you through the steps to do just that.
If you prefer to learn from videos, we will also have a video tutorial on the Appwrite YouTube channel.
Before we start, we’ll assume two things:
- You have a domain purchased with a domain registrar (Namecheap, GoDaddy, Bluehost, etc)
- You’ve deployed your website with Appwrite Sites
We’ll use Namecheap in this tutorial; however, if there are different steps for any providers, we will note these and link related tutorials in the footnotes.
You can also learn how to host with Appwrite Sites.
Adding a domain
In your Appwrite console, you’ll want to add a domain to your deployed website.
- Go to the Sites tab
- Select the Site to which you wish to add the domain
- Go to the
Domainstab and clickAdd domain
Type in the domain name you have hosted with your provider, i.e, example.com.
You can point your domain to a specific branch if you connect via GitHub. If you are unsure about this step, you’re better off selecting Active Deployment to ensure the latest version of your website is live.
When you click Add, you'll see NS records that look like this:
ns1.appwrite.zonens2.appwrite.zone
About NS records
NS (Name Server) tells the internet which servers are responsible for knowing a domain's address (like www.example.com) and how to find it. They act like a directory listing, pointing users to the correct "address book" for a specific domain.
We can’t verify our domain until we give these to our domain name provider, so for now, you can save them or close out the tab. In the next step, we’ll cover where you can find all your DNS records.
View your DNS records
Once you’ve added a domain to your deployed Site, you’ll be able to view all your Site's DNS records from your account organization:
- In the top left corner of the console, select
Organization Overview - Select the
Domainstab
Here you’ll see every domain you’ve added across all projects in the selected organization.
Click on the domains row to view all DNS records. Keep this tab open as you’ll need both NS records in the next step.
Adding NS records in Namecheap
In your Namecheap dashboard, find the domain you want to use and select Manage.
Go to Domain and under the NAMESERVERS section, select Custom DNS and add both of the NS records that Appwrite provided.
Make sure you click the green check mark to save this change.
Build fast, scale faster
Backend infrastructure and web hosting built for developers who ship.
Start for free
Open source
Support for over 13 SDKs
Managed cloud solution
Verifying your domain
Once you’ve added your NS records to Namecheap, you have successfully pointed your domain to Appwrite's name servers. All that's left to do is verify your domain from your Appwrite console.
This step can take a few minutes, or even a few hours, in some cases, although this is rare.
In any case, go back to the domain section from your Appwrite organization, select the domain, and click Retry.
If this doesn’t work immediately, try again in a few minutes. It may take several attempts with time in between.
Your website should be live once you receive the Verified status.
Once again, even after your website is verified, it may take some time to see the website. Try clearing your browser’s cache or visiting the domain from a different device to test.
Next steps
You can now access your website at your custom domain. If you have any questions, please join our Discord server. Here are some more resources to help you get started with Appwrite Sites:



