How do I add a custom domain or a CNAME or A record for my custom domain?


Assuming you've already purchased the domain at a registrar, on Glitch go to 'Advanced Options' from the top-left Project Info menu, and select the 'Add Custom Domain' option.

Enter your custom domain URL (e.g. and select 'Add Domain'. You'll get a URL in return, like You can then go to your domain name registrar's website and create a CNAME entry using that URL. If you've misplaced the url you were provided, not to worry! You can use instead - it's completely interchangeable with any domain.

Note that visiting the URL itself in the browser will display 'Not Found' - it's not intended to be used directly, only as part of a CNAME.

Here are documentation links for how to add a CNAME record with some popular domain name registrars:

My Domain Name Registrar Needs an IP Address

If you want to use the "bare domain" you purchased for your custom domain (e.g. instead of most registrars won't allow that because it would break the internet (see this for a slightly geeky but pretty understandable explanation of why). In this case it's possible your registrar supports a custom DNS record type like ALIAS or ANAME which will serve the same purpose. If not and your registrar doesn't allow you to use a URL but instead needs an IP address, then you can get the IP address needed by pinging the URL you were given. You can use a service like to do so. You should get an IP address similar to

You can then create an A record for it on your domain registrar's website.

Here are documentation links for how to add an A record with some popular domain name registrars:

Using Glitch Project Options How To
Article last updated on