2 months ago
I am having an issue where when I try and access my website it brings me to a railway page that has an error message saying "the train has not arrived at the station". At first I thought this was a domain issue, but in my settings my domain is successfully linked, and according to people who I had asked to try and access the site for troubleshooting, both my custom domain, and the railway provided domain lead to this error message.
Any suggestions would be appreciated
4 Replies
2 months ago
Also important info, the site worked flawlessly for 23 days straight, and then this issue started randomly. I did not make any changes to code, the site just stopped working
2 months ago
I believe that is a 404 page. Try to type in the url different ways, like for example with /index.html at the end or whatever the file is called
firewry
I believe that is a 404 page. Try to type in the url different ways, like for example with /index.html at the end or whatever the file is called
2 months ago
yeah it is a 404, but I want user to be able to access it with just the base url.com, it worked completely fine up until yesterday. do you have any suggestions for how to try and fix it?
2 months ago
I dont know why it would stop suddenly, but it should automatically look for a page called index.html, so make sure its named that, but if that doesnt fix it you will probably need an .htaccess file. For example, here is the one my site uses:
RewriteEngine On
# Redirect /file.html to /file
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*\.html\ HTTP/
RewriteRule ^(.*)\.html$ /$1 [R=301,L]
# Internally rewrite /file to /file.html
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html [L]