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 shw.io 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 shw.io 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.
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 fly.io 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 Fly.io’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 www.molecall.com to be the canonical name for molecall.glitch.me, which is great, and I also have a redirect set up for the root domain so molecall.com redirects to www.molecall.com. 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:
Hey @dreev sorry you’re site is still having some trouble.
Here’s what I think is happening. www.molecall.com resolves (eventually) to the fly.io / shw.io servers, which are serving up an appropriate SSL certificate for www.molecall.com, so that all works as expected. However molecall.com itself, where the redirect to www.molecall.com takes place, is being served by a Namecheap server (based both on the results of a WHOIS lookup at https://whois.arin.net/rest/net/NET-192-64-112-0-1 and on the X-Served-By: Namecheap URL Forward header returned in a curl -IL http://molecall.com/ request) which doesn’t have an SSL cert for molecall.com (or at least isn’t responding on port 443). Therefore requests for https://molecall.com time out.
Swapping the CNAME record at www.molecall.com for an A record wouldn’t help; A records need to point to an IP address, and presumably if you pointed www.molecall.com to 206.51.242.1 (the ip where 1zdn9kj2hmfo4q3v.shw.io resides) then fly.io wouldn’t be able to resolve your custom domain to the right glitch.me 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 molecall.com if you want SSL to work at that address.
Hi, I also have another issue, there are some domains that I probably have used fly.io 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@fly.io. Fly.io 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 fly.io folks in any way. What’s the domain you’re looking to reassign?
Hey @advaith I got in touch with the folks over at fly.io 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.
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.
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.