Skip to main content

Adding Custom Domain Inside Vercel

info

Vercel provides all deployments with a vercel.app URL, which enables you to share Deployments with your Team for collaboration. However, to provide greater personalization and flexibility to your project, you can instead add a custom domain.

Add and configure domain

  • Login to vercel dashboard.

  • Pick the project to which you would like to assign your own custom domain.

  • Click on Settings tab.

  • Then select Domains menu item.

  • Now click on Add Domain button.

Appwrite Logo
  • Input the domain you wish to include in the project and click on save button.
tip

Make sure that the environment is set to be Production.

See below reference image.

Appwrite Logo
  • Now you can see that domain has been added but it requires verification.
Appwrite Logo

Verifying Domain (Hostinger as an example)

Now you need to verify the domain by adding an A record .

Follow below steps:

  • Click on Learn more dropdown menu.

  • A details will appear like below:

Appwrite Logo
  • Login to Hostinger hpanel https://hpanel.hostinger.com/ .

  • Select your domain.

  • Go to Advanced section and then select DNS Zone Editor

  • Add a new A record as follows:

tip

From above image we can see that we need to use following records:

  • Type = A

  • Name = @

  • Value = 216.198.79.1

  • TTL = 14400

note

If your configuration is correct, the domain verification will be completed and you will see Valid Configuration status under your domain.

But still if you face any error, contact us via Discord Server.