I need to add a custom domain without CNAME set.
a-nomad
PROOP

6 months ago

I have Apostrophe site hosted on Railway hosting.

They have instructions to point a custom domain with CNAME record @ 6mwt6jhr.up.railway.app

But we have domain speedandfunction.com pointed as a proxy to https://apostrophe-cms-production.up.railway.app (service Railway domain).

In the Apostrophe application we have some pages don't work correctly because of internal redirect that doesn't work.

It returns 404 in code

var hostReplacer = {} function checkReplacer() { return fetch("/.sw_/host/replacer?" + Date.now()) .then(function(res) {return res.json()}) .then(function(r) {hostReplacer = r}) .catch(function(error) {console.error(error)}) }

Can we fix issue on the hosting side?
Or do we have any specific records to set instead CMANE of the domain side.

The domain is on Amazon cloud front and we can't set a record for the primary domain.

Solved$10 Bounty

2 Replies

Railway
BOT

6 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


6 months ago

Hey, it is best to change your domain's nameservers to Cloudflare's and add the CNAME record there. https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/


Status changed to Solved uxuz 6 months ago


Loading...