10 months 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
8 Replies
10 months 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.
10 months 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.
10 months 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.
10 months 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.
10 months 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[bot] • 10 months ago
10 months 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!