Custom domains not working for some projects


This is what I see at the console:

curl -IL

HTTP/1.1 302 Found
Server: nginx
Date: Tue, 06 Nov 2018 20:22:40 GMT
Content-Type: text/plain; charset=utf-8
Connection: keep-alive
X-Served-By: Namecheap URL Forward

HTTP/2 200
date: Tue, 06 Nov 2018 20:22:40 GMT
content-type: text/html; charset=UTF-8
content-length: 4482
x-powered-by: Express
accept-ranges: bytes
cache-control: public, max-age=0
last-modified: Tue, 24 Jul 2018 00:00:21 GMT
etag: W/"1182-164c9963208"

In chrome I end up at


Yes, sorry, that’s an existing redirect I have. Sounds like I’ve muddied things here. Many of my custom domains redirect to Glitch apps like that, which is not the same as this new feature where I can make my custom domain the canonical URL, right?

But, first things first, what about my question about the URLs saying “Not Found”?


Ah yes, I see where I was confused. Yes, there is work underway to fix a bug that cropped up a few days ago. Some portions of the solution are in place but there’s more work yet to be done, so things aren’t quite where they need to be yet.

Thanks for your patience - hopefully the full fix will be in place soon!


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


I forget which one that is but I have a different one.



Hey my custom domains seem to be working now but if I try to access it says “no mount found”, but and work.


The full set of changes we expected to resolve the custom domain issues have been deployed and it looks like custom domains are coming back - not everyone’s is working yet but some definitely are.

@advaith are you seeing any errors in the logs when you access your custom domain’s /api/servers endpoint? Can you tell if the request is making it to your project at all? We’re taking a look to see what might be going on, but any information you can provide will be helpful.


Actually it looks like our partners over at have already issued a fix for that problem; @advaith your endpoint seems to be working correctly now.


Everything is working for me now! With one exception that’s probably not Glitch’s or’s fault but I’d be grateful to understand what it would take to fix this. For my MoleCall project I have the CNAME set up for to be the canonical name for, which is great, and I also have a redirect set up for the root domain so redirects to Also great. But there must be something else I need to do for SSL on the root domain because, well, let me convert this to tabular form:

  1. WORKS
  2. WORKS
  3. WORKS

The last one times out. (And similarly for other projects with analogous setups.)

Would using A records instead of CNAMEs solve that?


Hey @dreeves sorry you’re site is still having some trouble.

Here’s what I think is happening. resolves (eventually) to the / servers, which are serving up an appropriate SSL certificate for, so that all works as expected. However itself, where the redirect to takes place, is being served by a Namecheap server (based both on the results of a WHOIS lookup at and on the X-Served-By: Namecheap URL Forward header returned in a curl -IL request) which doesn’t have an SSL cert for (or at least isn’t responding on port 443). Therefore requests for time out.

Swapping the CNAME record at for an A record wouldn’t help; A records need to point to an IP address, and presumably if you pointed to (the ip where resides) then wouldn’t be able to resolve your custom domain to the right project (I expect that they use the host header of the incoming request to determine which application to serve, but that’s largely a guess).

My suspicion is that you need to make some changes in your Namecheap forwarder configuration to have them serve a valid SSL cert for if you want SSL to work at that address.

Hope that helps!


Hi, I also have another issue, there are some domains that I probably have used on and I want to connect those to Glitch using the built-in integration but I can’t because of the error Hostname is owned by another organization. If you control that hostname, please contact support hasn’t been much help. Is there a way for me to be able to use these domains with Glitch?


Hey there, unfortunately we can’t do anything from our end to make that domain available, but I’ll see if we can help the folks in any way. What’s the domain you’re looking to reassign?



Hey @advaith I got in touch with the folks over at and they couldn’t find a ticket for your request. They do say, however, that you should be able to delete the hostname from fly and it should become available for you to use.

Let me know how you get on!


Kurt responded to the support email saying

Hi Advaith! I went ahead and removed the previous domain, you should be all set now. Thank you for being patient with this! We’re still getting the kinks worked out. :slight_smile:

on November 1, I replied on the 7th saying it still didnt work and haven’t gotten a response. I can’t find anything in my fly account using the domain but its possible another dev on this project tried something, i’ll ask him.


I’ve talked to the other dev and he says he hasn’t used Fly, so I don’t know how the domain could be connected to it. There are no DNS records pointing to Fly.


Ok, I’ve reached back out to the wonderful folks at fly and they’re going to take a closer look.


Looks like I forgot to mention it but fly sent me an email and fixed it.

However today I’m having a new issue with custom domains: when I try to add one I get the error

“Error: Error: Error: getaddrinfo ENOTFOUND fly.iohostnames fly.iohostnames:443”


I am able to repro this and have brought this back to the team to see what’s going on. Will post back when I have more information!


Hey @advaith this issue appears to be resolved; can you give it another try?