How to set up CDN for website?
neolee98
HOBBYOP

2 years ago

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?

21 Replies

neolee98
HOBBYOP

2 years ago

N/A


2 years ago

first, please explain why you need a static outbound ip for wordpress?

second, we do!


neolee98
HOBBYOP

2 years ago

oh sry, I mean inbound


neolee98
HOBBYOP

2 years ago

for setting up the CDN for the website


2 years ago

why does that need inbound?


neolee98
HOBBYOP

2 years ago

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


2 years ago

… why?


neolee98
HOBBYOP

2 years ago

Idk, this domain host ask for it 🤣


2 years ago

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


neolee98
HOBBYOP

2 years ago

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


2 years ago

there ya go!


neolee98
HOBBYOP

2 years ago

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


2 years ago

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


neolee98
HOBBYOP

2 years ago

hum, good point, guess I can just ditch www


2 years ago

for sure


neolee98
HOBBYOP

2 years ago

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


2 years ago

can you say what cdn you are using?


neolee98
HOBBYOP

2 years ago

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


2 years ago

possibly? never setup that cdn


neolee98
HOBBYOP

2 years ago

*sight, gonna switch to cloudflare once it expire


2 years ago

good choice


Loading...