#Custom domains can't be reached after adding cloudflare proxy

24 messages · Page 1 of 1 (latest)

royal berry
#

I just purchased a domain on cloudflare and added it on my service on railway. I added the DNS record on cloudflare, and it now shows "Cloudflare proxy detected" in railway. However, I don't know which URL can now be used to access my APIs. (If I turn off the proxy from cloudflare, I can make API calls using my newly purchased domain, but I want it to be enabled)

upper hullBOT
#

Project ID: N/A

royal berry
#

N/A

wise sphinx
#

Can you show me your SSL settings on cloudflare?

royal berry
#

this is my first time using cloudflare

#

I remember choosing always use HTTPS and switch HTTP requests to HTTPS somewhere though

wise sphinx
#

On cloudflare, select your domain, then on the left side of the screen in the menu, click on SSL

royal berry
#

it's set to flexible

wise sphinx
#

Set it to FULL

#

Not FULL (STRICT)

#

Third option down

royal berry
#

okay done

#

it now shows "Waiting for DNS update " in railway, but I can call my backend using the custom domain

wise sphinx
#

That's fine, it just needs to update on their end

#

So, you can access the domain now?

royal berry
wise sphinx
#

Yeah, you just need to add the cname for it

#

Just like you did the root domain

royal berry
wise sphinx
#

Yup

#

That is correct

royal berry
#

okay thanks, appreciate your help