#How to set up CDN for website?

22 messages · Page 1 of 1 (latest)

pliant jay
#

I'm hosting an WordPress on railway, but since railway doesn't have an static inbound ip, how do I set up CDN for the website?

jovial geodeBOT
#

Project ID: N/A

pliant jay
#

N/A

abstract warren
pliant jay
#

oh sry, I mean inbound

#

for setting up the CDN for the website

abstract warren
#

why does that need inbound?

pliant jay
#

the CDN setup I'm looking at needs a source IP

abstract warren
#

... why?

pliant jay
#

Idk, this domain host ask for it 🤣

abstract warren
#

... use a different CDN? never heard of needing a static inbound ip

pliant jay
#

oh wait, I found a hidden option that allows domain as source🤣

abstract warren
#

there ya go!

pliant jay
#

quick follow up question, I have 2 custom domain (www and @) bind to my service, how do I change the RAILWAY_PUBLIC_DOMAIN to the www one

abstract warren
#

i think it goes off what was added first, but in 2024 why do you need www lol

pliant jay
#

hum, good point, guess I can just ditch www

abstract warren
#

for sure

pliant jay
#

to be sure, domain -> CDN cname -> railway cname?

abstract warren
#

can you say what cdn you are using?

pliant jay
#

Tencent Cloud (I hate it too, but no refund)

abstract warren
pliant jay
#

*sight, gonna switch to cloudflare once it expire