How to link custom google domain to a repl?

I have bought a google domain and am now trying to make the website using replit, but when I try to connect the custom domain it said the verification failed. Does anyone know how to successfully link a bought custom domain to a repl?

Are you connected it using an A record or a CNAME record?

If you are trying to use a CNAME record your DNS will have to support CNAME flattening. So maybe try an A record.

There is also a TXT record that you need to add to verify you do indeed own the domain, make sure you have added that with the correct value.

My suggestion would be to transfer your domain to cloudflare (using the free tier) as I really like the cloudflare DNS and they walk you through the whole setup.

From there, you can link your domain via CNAME as cloudflare supports CNAME flattening.

To link a custom Google domain to a Repl, you can follow these steps:

  1. Open your Repl and go to the “Settings” tab.
  2. Scroll down to the “Custom Domains” section and click “Add domain”.
  3. Enter your custom domain name in the “Domain name” field and click “Add domain”.
  4. A new section will appear with instructions on how to set up your DNS records. Follow the instructions provided carefully.

Here are the steps to configure DNS settings:

  1. Log in to your Google Domain account.
  2. Click on your domain name, then click on “DNS”.
  3. Scroll down to “Custom resource records” and click “Add”.
  4. Enter the following details:
  • Name: leave blank
  • Type: CNAME
  • TTL: 1h
  • Data: enter the Repl’s domain name (it should look something like
  1. Save the changes and wait for the DNS to propagate, which can take up to 24-48 hours.

Once the DNS has propagated, your custom domain should be successfully linked to your Repl!