Deployment Error: "Not Found - The requested resource was not found on this server"

guide
HOBBY

a year ago

This is my first time using Railway, and I am encountering an error when deploying my Django application. The error message I receive is: "Not Found - The requested resource was not found on this server".

I have set ALLOWED_HOSTS to ['*'] for testing purposes. Could you please help me resolve this issue?

Thank

Solved

8 Replies

a year ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.


guide
HOBBY

a year ago

Thank you for marking this thread as public. I am encountering an issue with deploying my Django application on Railway. The error message I'm receiving is: "Not Found - The requested resource was not found on this server."

I have set ALLOWED_HOSTS to ['*'] temporarily for testing purposes.


a year ago

Can you tell me the context in which you receive this error? and if possible a link to where I could see this error for myself.


guide
HOBBY

a year ago


guide
HOBBY

a year ago

BrodyContexte:GitHub: I deployed my project on Railway connected to Git. I created a PostgreSQL database on Railway. I deployed the project on Railway and there are no error messages in the logs. The application works fine locally on my PC.


a year ago

A 404 at the root is not uncommon my any means.

Do you have a route registered for / in your urls.py?


Status changed to Solved Railway over 1 year ago


guide
HOBBY

a year ago

A 404 at the root is not uncommon by any means.

Do you have a route registered for / in your urls.py?

Thank you, Brody! I added a home URL, and it works!


a year ago

Awesome!


Deployment Error: "Not Found - The requested resource was not found on this server" - Railway Help Station