You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
Home > Project Editor > Custom Domains > Adding a Custom Domain
Adding a Custom Domain
print icon

If you've purchased a custom domain from a registrar, you can add it to your Glitch project!



To add a custom domain:

  1. Open the project in the editor.
  2. Click Tools at the bottom of the page.
  3. Click Custom Domains.
  4. Enter your custom domain URL ( and then click Add Domain
  5. Now, go to your domain name registrar's website and create a CNAME entry, adding as the target.


Here are some things to remember when adding a custom domain to your Glitch project:

  • Visiting the url, directly in your browser will not display your app.  It’s not intended to be used directly, only as part of a CNAME.
  • If you are working on a generated static site (GSS), referring to the custom domain during active development will not work. Instead, be sure to reference the project's domain. Once the site is ready, you can point folks to the custom domain.
  • Currently, web socket connections do not work with custom domains on Glitch. If your Glitch projects use custom domains and web sockets, you will need to set them up so that the apps are connected via their URL.
  • While you can connect a number of custom domains to your app, only the first five will appear in the custom domain menu after they have been added.
  • Most popular domain name registrars provide documentation on how to configure your dns for CNAMES. Here are links to a few of them:


Using an A Record when your domain name registrar requires an IP address:

  • If you want to use the "bare domain" (for example, instead of, you'll need to create an A Record.
  • If you're setting an A record for a host, you do not need a CNAME for it too. Make sure there are no duplicates or else your domain may not resolve!
  • If your registrar requires an A Record to be pointed to an IP address instead of a URL,  you can find the IP address by using a service like to ping http://
  • Here are documentation links for how to add an A record with some popular domain name registrars:
Got more questions? Check out our Community Forum!
Open 24/7, the forum is where Glitch makers help each other and show off all the rad apps that they have created. It's the friendliest community of coders on the Web!
93 out of 160 found this helpful

scroll to top icon