#https:// works but https://www. gives the "Not Secure" message

18 messages · Page 1 of 1 (latest)

solemn solstice
#

when accessing my website using www. i get the "Your connection is not private" message and the error is "NET::ERR_CERT_COMMON_NAME_INVALID".

when accessing it without www. it works, can you please help me fix this? thanks

frozen basinBOT
#

Project ID: 1bd6c05b-ecb7-4336-85ee-debadbb593a0

#

Project ID: 1bd6c05b-ecb7-4336-85ee-debadbb593a0

icy gobletBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

peak kelp
#

did you strictly need www?

solemn solstice
solemn solstice
peak kelp
#

well i didnt mean let that error stand, i more so meant just dont try to use www so they see a less scary message, like domain not resolved. but fair

#

show me your domains in railway please

solemn solstice
peak kelp
#

yeah, you need your www subdomain there too

solemn solstice
#

hmm, but if i try to add it, it will ask that i add a CNAME www entry on the domain host, and i already added one for lemmeno.ai and i'm only allowed to add one CNAME www entry.

#

oh, nvm it actually worked without adding an entry 😄 so just a matter of adding the domain name here, thanks @peak kelp this worked!

peak kelp
#

yep exactly, you just need it there so railway can issue the cert for it

solemn solstice
#

thanks alot for your help!
can i ask one more question? how can i set a redirect from www.lemmeno.ai to lemmeno.ai? this is for SEO purpose too

peak kelp
#

you can either do that at the dns level, or in your apps code

solemn solstice
#

got it, thanks again! marking as solved

icy gobletBOT