Skip to content
Can't get www to work on railway

I'm trying to have it so that users can go to www.mypetnote.com and be redirected to my project which is deployed on Railway. I currently have it set up so that when users go to https://mypetnote.com/ , it works fine and shows the project. However, I recently upgraded to the hobby plan so I can add another custom domain ( the www.mypetnote.com) one and when I go to that link, I get a 400 bad request error. I've attached my DNS settings and railway settings for reference.

Closed

8 Replies

3 years ago

is www.mypetnote.com in your allowed hosts?


Project ID: 0fbe3bbf-8e54-48fd-9f7a-33c4b9ce087d


In my settings file?


3 years ago

yes


Let me try putting that in there. One moment


That fixed it, thank you! I knew it was something small I was missing


Thank you Brody!


3 years ago

no problem!


Welcome!

Sign in to your Railway account to join the conversation.

Loading...