Report this

What is the reason for this report?

Issue with store/landing page not loading properly after migration from Hostinger to DigitalOcean

Posted on July 11, 2025
Irfan Shafi

By Irfan Shafi

I am a developer

I recently migrated my WordPress site from Hostinger to a DigitalOcean droplet (Ubuntu + Nginx). Most of the site works fine, but I’m facing a weird issue with one of the store pages, it doesn’t load correctly or throws a 500 error intermittently.

For example, sometimes it loads partially, or styles don’t render fully.

I’ve checked error logs and increased PHP limits, but the problem persists. Anyone else faced this with DO droplets or during similar migrations? Is it Nginx config or file permission related?



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.

Heya,

Check your error logs, both for your application/php error log or the nginx error logs. In there you’ll be able to see a more detailed explanation and reason behind this failure. If you provide it to me, I can try and help you with a more pinpoint answer.

Hi there,

It definitely sounds like it could be a file permission or Nginx config issue, especially if the page is loading partially or styles are missing.

Double-check your Nginx server block to make sure static files (like CSS/JS) are correctly served and not being blocked.

Also confirm ownership and permissions, your web files should usually be owned by www-data if you’re using Nginx with PHP-FPM.

Another common cause is missing .htaccess rewrites if you were using Apache before. Nginx doesn’t use .htaccess, so you might need to manually translate those rules.

If nothing stands out in your logs, try enabling WP debug mode to get more detailed PHP errors. Sometimes a broken plugin or missing file throws silent 500s.

- Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.