I’m migrating from shared hosting, and trying to test my site on the new DO VPS. When I go to my new IP address, the site loads, but the following resources get a 404 error:
Resources in other folders are loading fine; for example, this stylesheet loads without issue:
<link rel="stylesheet" type="text/css" href="/styles/main_style.css">
I have tried deleting my browser cache, as well as using a different browser. The files do exist on the new server in that location. I’ve checked that the folder is correct, and that there aren’t any strange capitalization. Everything is working fine on the old server, and all I’ve done is copy and past to DO.
Thanks for the help!
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.