Hi everyone.
I’m stuck with 404 page though the deployment is published.
I checked the /index.html and it seems good.
Please could anyone help?
Thanks in advance!
Hi everyone.
I’m stuck with 404 page though the deployment is published.
I checked the /index.html and it seems good.
Please could anyone help?
Thanks in advance!
Hi there,
Did you see this guide yet? This is the best place to start for “Page Not Found” issues.
If you are still seeing issues after following the troubleshooting steps in there, please check out this Support Guide as well. It outlines all of our build and deploy resources and will get you on the right track
If none of the above resources help, please write back with your site name and what steps you have tried and we can look into this further!
No, the site is deployed and running fine but when I try to sign up a user or login its give me a 404 error. Saying page is not found. I am also deploying my site from Github.
Sorry, you didn’t mention sign up or login in your original post, nor your follow up post with the link, so I had presumed the issue was loading the main index.html
file.
Now that I know what your issue actually is, the problem is fairly obvious.
Netlify do not provide runtime PHP based hosting, and thus you won’t be able to host your PHP scripts here.
Oh wow. Thank you so much and appreciate your helping me.
Also if you don’t mind me asking do you have any other hosting sites besides netlify to help with my problem?
@NafisConix It’s no problem at all.
In case anyone else encounters this discussion in future, and is confused…
The entire Netlify system is designed so that you have a Continuous Integration “Build”, (which executes automatically when you make changes to your codebase), where the result of the build is a new output of your site. The output is intended to be either entirely “static” (composed of just HTML, CSS, JavaScript - delivered by CDN) or leverage Serverless Functions at runtime, (with those functions most frequently being built with JavaScript).
You can use PHP during the build process to generate output, but you cannot use it at runtime.
I do not have any recommendations for PHP hosting.
I was a PHP developer for a good 9+ years or so, but I basically haven’t touched it in the last 6 years.