R
Railway•11mo ago
FoodableAe

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

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
Solution:
yeah, you need your www subdomain there too
Jump to solution
13 Replies
Percy
Percy•11mo ago
Project ID: 1bd6c05b-ecb7-4336-85ee-debadbb593a0
Percy
Percy•11mo ago
Project ID: 1bd6c05b-ecb7-4336-85ee-debadbb593a0
Brody
Brody•11mo ago
did you strictly need www?
FoodableAe
FoodableAeOP•11mo ago
Project ID: 1bd6c05b-ecb7-4336-85ee-debadbb593a0 It's better for SEO and UX, if someone accesses and sees an unsecure message they will just drop.
Brody
Brody•11mo ago
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
FoodableAe
FoodableAeOP•11mo ago
this?
No description
Solution
Brody
Brody•11mo ago
yeah, you need your www subdomain there too
FoodableAe
FoodableAeOP•11mo ago
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 @Brody this worked!
Brody
Brody•11mo ago
yep exactly, you just need it there so railway can issue the cert for it
FoodableAe
FoodableAeOP•11mo ago
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
Brody
Brody•11mo ago
you can either do that at the dns level, or in your apps code
FoodableAe
FoodableAeOP•11mo ago
got it, thanks again! marking as solved
Brody
Brody•11mo ago
no problem!
Want results from more Discord servers?
Add your server