Add a domain to an application

To make an application accessible online, you have to link it to a domain.

In this section, we’ll cover how to publish an application to a custom domain or Baserow subdomain.

Overview

With custom domains, you can publish different versions of your application for each domain you have listed. So if you have multiple domains, you can have a unique version of your app for each one.

This gives you flexibility and control over how your application is accessed and presented online, making it easier for your users to find and use your app.

An application can be made publicly available in two ways:

  • Subdomain by Baserow: Baserow offers a subdomain where the application can be accessed (yourdomain.baserow.site).
  • Custom domain: You can use a domain name to access the application (yourdomain.com).

You can also have multiple domains, each running a different version of an application.

Associate a domain with an application

Add a Baserow subdomain

To publish an application on the Baserow subdomain,

  1. In the Baserow application, go to Settings → Domains page.
  2. Click on the Add domain button.
  3. Select the Baserow subdomain from the dropdown options.
  4. Add a valid domain in the Domain name field in the format: yourdomain.
  5. Click on the Create button.

The DNS settings of the domain will be configured and checked automatically. You don’t need to make any additional changes.

Configure Baserow subdomain

In Baserow, you can use your custom domain to run your applications. This means you can have a web address that’s unique to you, instead of using the default Baserow subdomain.

Add a custom domain

Adding a custom domain is a simple yet effective way to establish your brand and make your application more professional.

In the Baserow application,

  1. Go to Settings → Domains page.

    Associate a domain with a Baserow application

  2. Click on the Add domain button.

  3. Select a custom domain from the dropdown options.

  4. Add a custom domain in the Domain name field in the format: yourdomain.com. It will also add the full domain www.yourdomain.com by default.

  5. Click on the Create button.

Update the DNS for a custom domain

Every DNS host has its way of updating DNS settings.

To update your custom domain’s DNS, go to your domain registrar’s or DNS host’s dashboard where you manage your domain. Locate the DNS settings section for your domain and make the changes.

Create a CNAME or ALIAS record from your domain:

  • Set the host field as your custom domain name.
  • Set the value field as the base URL you want to point to.

This process varies slightly depending on your DNS host, but these general steps should help you get started. If you still run into any issues with your domain verification, reach out to your DNS provider to make sure the records are set correctly.

Update the DNS for a custom domain

To verify that the DNS settings are correct and that your domain is correctly pointing to Baserow, publish your application to the custom domain.

Create a new ALIAS from your domain to baserow

Once verified, confirm the changes and wait for them to take effect. This process might take a little time.

DNS changes may take some time to propagate everywhere, so be patient. It may take up to 48 hours before changes are successfully made from your DNS host so that you can open your application with your domain.