- 404 errors will usually be shown on screen immediately
- 404 errors often occur during setup or after code or configuration changes
- 404 errors here are often rendered using a fortrabbit error page template
In most cases this is not a server issue, but a problem with your code and configuration. Please check the following common issues first:
A common reason for the 404 page is that no code has been deployed yet.
This can be a misunderstanding: You might have thought that when you choose a Software Preset software will be installed. Sorry, no one-click-installs here, you need to install the software yourself. So please go ahead and deploy some code first.
Or maybe the deployment is not yet finished (SFTP is still uploading?) or your initial Git push returned an error. Please check that all code is deployed completely. With a Universal App you can use SSH/SFTP to login and see if the files are there.
Or maybe you have pushed to the wrong branch? Only
appname will be deployed.
Maybe your software is using a different root path than the one that is currently set? Check the root path settings.
htdocs is the default root path if no specific software has been chosen in the Software Preset. Now, if you decide to install Laravel or any other software later on, you might have to set the root path accordingly.
We have also seen cases where people have uploaded a whole
WordPress folder into the App's
htdocs folder. Better upload all files into
htdocs directly, not into an extra folder that contains the files.
Another common cause for 404 errors is a missing
.htaccess file. This file is hidden from your Operating System by default (as it starts with a period) but contains important rules for your application to function properly.
So if you are uploading with SFTP and have dragged the files from your Desktop (Finder) into your SFTP application (Cyberduck, Transmit, FileZilla), this file will likely be missing.
You might be able to use the file explorer from your SFTP application or temporarily show hidden files in your OS to make the
.htaccess file visible to you. Just make sure that when an
.htaccess file is present (most likely it is), that it gets uploaded as well.
You might have an error with URL. Check for typos in the address bar (URL) of your browser.
Creating an App can sometimes take a few minutes. If you visit the App URL during that time, you'll get a 404 error. It's possible that this DNS response gets cached locally.
It is also possible — although less likely - that this error is caused by a network, hardware or configuration issue on the side of your hosting provider — us. Please check our status page under status.fortrabbit.com if there are any ongoing maintenance windows or service issues known.
Whether your investigation (see above) leads to possible service issues on our side or you are stuck debugging the issue on your own, don't hesitate to contact us.
Please include logs and additional information with your support request.