CONTEXT
I have a domain jancoomans.be registered vimexx.be, and have changed the nameserver to Cloudflare with the following guide: https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/ . The DNSSEC is active and I see Web Traffic in the domain settings, so I think I’ve done so successfully.
Next I wanted to add a CNAME that points to a website I’ve made under the following URL: https://blog-frontend-production-2682.up.railway.app/ . This however is not working. jancoomans.be doesn’t point to any website and returns an error in the browser.
You appear to to have skipped over setting up the www.jancoomans.be hostname in Railway. When I request www.jancoomans.be from the server at blog-frontend-production-2682.up.railway.app using curl it returns the following error:
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=*.up.railway.app
* start date: Feb 8 18:16:04 2023 GMT
* expire date: May 9 18:16:03 2023 GMT
* subjectAltName does not match www.jancoomans.be
* SSL: no alternative certificate subject name matches target host name 'www.jancoomans.be'
Oh I see. It’s solved now. I actually did add the custom domain to my railway project. But since the orange cloud proxy on the CNAME was active, I also had to change the SSL/TSL of my domain to “full”.