Domain Binding

Domain Binding

Domain is a unique identifier for your service, which can be used to access your service from the Internet. For example, the domain name of this website is

After your service is successfully deployed on Zeabur, you may need to bind a domain to expose this service to the Internet.

Step 1: Open Domains Tab

Select the service which you want to add a domain for, and expand the Domains tab, you will see two buttons for you to create a domain for your service.


Step 2: Create a Domain

Zeabur provides an easy service for generating domain names with the suffix that can be used to access your services without additional configuration.

Just click on the Generate Domain button, and type in the name you want to use, if the domain name is available and haven't been used by others, you can click on the Save button to use it to access your service.


You can also choose to fully customize your domain name. But to access your service with your own domain name, you will need to follow instructions in Step 3 to do some configurations for it.


Step 3: Configure Your Customized Domain

For more uniqueness and flexibility, you may like to choose to bundle your own domain name.

If you don't own any domain yet, you can buy it from some domain name service providers, such as GoDaddy (opens in a new tab) or Cloudflare (opens in a new tab).

Click on the Custom Domain button, and type in your domain name, then click on the Save button.

After you have added your dedicated domain name to the service, you will find it is in the Invalid DNS status. In order to access your service properly, you need to go to your domain registrar and manually configure DNS records for your domain name.


Configure DNS record

Here is an example of using Cloudflare to add DNS records for the domain name.

Open the Cloudflare console, select the domain name you want to configure, and select DNS records.


On this page, in the Manage DNS section, click the Add Record button.

Fill in the corresponding name and target content. Here, the name corresponds to the Name field, and the target corresponds to the Target field.

Configure subdomain DNS record

If you want to bind a domain name to a subdomain, for example, you purchased the domain name, but you want to bind the service to the subdomain

  1. Select CNAME record in the Type field
  2. Enter your subdomain name in the Name field, for example blog
  3. Enter in the Target field


Configure root domain DNS record

If you want to bind a domain name to a root domain (APEX Domain), for example, you purchased the domain name, and you want to bind the service to the root domain

  1. Select A record in the Type field
  2. Enter @ in the Name field
  3. Enter or
  4. You can also add two A records, each corresponding to one of these two IP addresses.

The two IP addresses mentioned above are Zeabur's Anycast IP. When you add the A record of these two IP addresses to DNS, users who visit your website will be resolved to the nearest node to them, ensuring that visitors to your website can open your page at the fastest speed.