I’m having a weird issue where my website will work fine and then it will randomly 404 on all pages. Eventually it seems to fix itself until it “crashes” again.
I used serverpilot.io to set up the LAMP stack, and have added custom DNS settings early yesterday to point my domain at my server IP. It should all be propagated by now as it’s been over 24 hours. I am developing my site in an obscure sub-folder (not the root) which due to serverpilot resides here: /srv/users/serverpilot/apps/wordpress/public
Since my wordpress installation is in a folder in that location, it should be working. But it will get a 404 after a while and I can’t continue any work.
This is what my DNS looks like:
I have no idea what is really happening or the reason, I’m not so great at command line or linux, so just let me know any more info you’d need or how to find it.
**Edit: **I can also confirm that the website DOES load properly on my laptop… so it’s a problem with my machine? Well I’ve tried flushing the DNS, deleting cache. No luck. Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!