I have created a glitch website and bought a custom domain. I have followed the tutorial [here] and successfully point the domain name to my Glitch.me site. However, buttons on index.html don’t open pages with URL that suppose to be my domain name but, instead stuck with the glitch.me url. FYI, these buttons are made with p5.js button.
Is abcd.glitch.me the actual address of your Glitch website rather than an example you chose? If this is your project it isn’t actually running so you would need to address that first. If this isn’t your project can you share the glitch.me address of the one you are working with?
When you say you’ve followed the tutorial – have you created a Fastly service for your project?
Oh! Those were example title. Sorry for the confusion. Anyhow, I have found the solution that I need to purge the site from Fastly side and the DNS settings site side because both of them keep cache and don’t update them instantly.
In my case, I purchase the domain name from one site and they only provide name server for the settings so I need another DNS settings site to operate the CNAME and whatever. And, I’m using Cloudflare for that now.
In conclusion, My Domain is register to one and the DNS is set using Cloudflare. I manage to point my domain to Glitch using Fastly.
And, in this way means that every time I need to update something I will have to ‘purge’ the page and, wait a minute to see the live-action on the actual page However, on my Glitch.me, I still can see everything change instantly.