Custom domains not working for some projects

I successfully set a custom domain for one of my glitch projects, using the new custom domain feature. However, when I try it on another project, the shw.io URL says Not Found and the custom domain says not found.

Edit: I tried on another project and am getting this issue too, it has only worked on the first project i tried it on.

1 Like

where is the option? im not getting the option

We disabled it for the weekend as we are fixing some small bugs. It will be back in a few days. Sorry for the inconvenience!

3 Likes

cool
thnks a lot!
hope it would be back soon!

Will you guys update this thread after it is fixed?

Also some request/suggestions:

  • Please remove all custom subdomains on .advaithbot.com so I can re-add them
  • Make a list of custom domains associated with a project along with their shw.io URLs and a button to remove them
1 Like

We re-enabled it on Monday.

Let us know the project name, and shw url and we’ll take a look.

1 Like

for the one to remove: advaithbot-beta and o1knwjg0hkfxeqrw.shw.io, the custom domain is https://apibeta.advaithbot.com

Just tried adding another custom domain and I’m still getting the original not found error: https://apibeta-2.advaithbot.com o1knwjvoakfxeqrw.shw.io

Thanks for providing that, I’ve flagged this to the team and we’ll take a look.

We’ve identified the problem, but it’ll probably be early next week when we have a fix released. Thanks for your patience.

1 Like

I’ve also got one that I’m chomping at the bit to get working but getting the “Not Found” thing that others are seeing. molecall.glitch.me should be hosted at molecall.com and the shw.io URL is http://1zdn9kj2hmfo4q3v.shw.io/ which also says “Not Found” so presumably it’s not that I screwed up the CNAME stuff as I originally assumed. :slight_smile:

It looks like molecall.com is a redirect to www.molecall.com which I assume is not the custom domain you configured in glitch (which is molecall.com, I guess?)

I am having this issue also. https://no.popeeyy.me/ which is connected to 81xqeokjb3f68n6m.shw.io gives me a Not Found.

I’m also having the same issue. http://www.princesky.ga is pointed to http://z6xqvx1rsefg0p75.shw.io Showing Not Found.

@efewqefwfd can you provide us the project name so we can make sure it’s the same problem we’re working on? If you’d like to keep it private you can email it to [email protected].

@AkashKumar can you provide us the project name so we can make sure it’s the same problem we’re working on? If you’d like to keep it private you can email it to [email protected].

Project name is alliancesky06 ( It’s private, i can give you access if needed ). @cori

Now I’m more confused and it seems I can’t undo the mappings I tried to create. So first let me start fresh with a previously untouched Glitch app – rsvp.glitch.me – and a domain I’d like to use for it: rsvprobably.com

I just now put in “www.rsvprobably.com” and haven’t set up the CNAME yet but it gives me a shw.io URL – dzepryd9sxf36q0k.shw.io – which says “Not Found”. Is that expected until I properly set up the CNAME?

PS: Sounds like there’s a known problem with things saying “Not Found” so I can hold tight till that’s resolved (tee-hee, “resolved”).

@dreeves this seems to be working now; is it not for you?

It’s not working for me. All the shw.io URLs mentioned in this thread (mine and others’) show “Not Found” for me. Are you seeing the same? I’ve been assuming that that indicates a problem on Glitch’s side but I could be confused at a more fundamental level…

This is what I see at the console:

curl -IL http://rsvprobably.com/

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
Location: https://rsvp.glitch.me/
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 https://rsvp.glitch.me/.

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.

1 Like

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

Domain: https://discord.popeeyy.me/
CNAME: zglnyz5ohkfgzpre.shw.io
Project: https://user-to-discord.glitch.me

Hey my custom domains seem to be working now but if I try to access https://apibeta.advaithbot.com/api/servers it says “no mount found”, but https://advaithbot-beta.glitch.me/api/servers and https://apibeta.advaithbot.com 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 fly.io have already issued a fix for that problem; @advaith your endpoint seems to be working correctly now.

1 Like

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:

  1. http://molecall.com WORKS
  2. http://www.molecall.com WORKS
  3. https://www.molecall.com WORKS
  4. https://molecall.com DOESN’T WORK

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

Would using A records instead of CNAMEs solve that?

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.

Hope that helps!

3 Likes

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 [email protected]. 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?

biso.ga.
​​​​​​​​​

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.

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!

1 Like

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

It’s fixed now! :+1:

1 Like

I recently tried adding a custom domain

I get the following error
"Error: Error: Error: getaddrinfo ENOTFOUND fly.iohostnames fly.iohostnames:443

Hi @abhishekraje, welcome to the Glitch Forums!

I’m working with our partners at fly.io on this to see if we can figure out what’s going on - I’ll update you here with any news.

Hey @abhishekraje I think everything’s fixed now. Can you please try again?

A post was merged into an existing topic: Domain Name Issues

I’ve been having the same issue which says not found: {domainName} on all of my projects included here…

Project Name: stroke-host
Project Link: https://glitch.com/~stroke-host
Domain Name: stokehost.com - I will need help to remove domain in custom domains.

Project Name: virtual-hosting0
Project Link: https://glitch.com/~virtual-hosting0
Domain Name: virtualhosting.ml - I will need help to remove domain in custom domains.

@UnseenAcoustics Could you please email [email protected] letting them know to remove those custom domains?

2 Likes

Hi there, it seems that my website (getparty.ml) is also showing Not found is there any way to get my website up and running again?