Configuring a custom domain

When you publish your app, your app automatically gets hosted at a “glideapp.io” address. With Glide Pro and Public apps, you can publish your app to your own custom domain.

For instance, instead of going to a domain like d0sda.glideapp.io, you can publish your app on your own custom domain – for example app.glidebakery.com.

Glide's custom domain configuration will show you which DNS records you need to set up your custom domain. If you're unsure of this process, follow our guide below or reach out to your domain name provider for support.

If you experience any issues, check out our troubleshooting guide 👇

Step 1: Purchase a domain

First things first, you have to own a domain. We recommend purchasing your domain from Google Domains, but your domain can be hosted anywhere. If you already have your own domain hosted with another provider, that’s fine. The interface will be different, but the concepts and processes are very similar.

Step 2: Choose between a subdomain or a normal domain

Once you have your own domain, the next step is to decide if you have to host your app on a subdomain or on a normal domain, for example:

app.glidebakery.com vs. glidebakery.com *you can swap "app" with anything you want.

If you already have a website hosted at your normal domain, then you'll have to use a subdomain.

Step 3: Find your DNS Settings

Next, Glide will ask you to add a number of records to your domain’s DNS settings. To do this, you need to find the “DNS Records” section in your account or dashboard with your domain name provider.

For Google Domains, follow these steps:

  1. Go to DNS

  2. Scroll down to “Custom Resource Records”

For other Domain Providers, the process is different but here are the general steps:

  1. Look for an area that's related to DNS - for example - 'Manage DNS', 'Advanced DNS', etc.

  2. Locate the area or section where you can add “records”

If you get stuck, contact your domain name provider’s support.

Introduction to DNS records

There are 3 parts to a record, sometimes these will be labeled differently but most Domain providers use the following names:

  1. The host

  2. The type

  3. The data

Step 4: Use Glide's Custom Domain Wizard

Glide's Custom Domain Configuration will help you to add the right records to your domain.

Click on the Share Button in Glide, you'll find the option to configure a custom domain.

The wizard will give you details for the DNS Records that you need to setup on your domain provider's DNS Settings. Simply copy these into your DNS settings and click on "Continue".

If your domain provider requests you to provide a value for TTL (time till live), enter the duration of 1 hour or 3600 if in seconds.

Step 5: Wait!

After adding your records, you’re done! Just wait around 30 minutes for the records to propagate. Note that for some domain providers, you may need to wait for 24 hours before your changes take effect.

If you're encountering issues, check out our guide here on issues when configuring a custom domain. You can also reach out to your domain provider to help you setup your DNS records.