My site runs on shared hosting, and my local machine runs nothing like it. I learned that the hard way, in the first week of building the site, and it is why I now test every change on the live site after every upload — never only on localhost.

Localhost is a comfortable lie. My laptop has PHP 8.2, no memory pressure, no file-permission quirks, and a case-insensitive habit I picked up from years on other machines. The server has PHP 8.2 too, but it is a shared box with real limits, real permissions, and a real CDN sitting in front of it. A page that works perfectly on my machine can fail there in ways localhost never shows.

The first time it bit me was permissions. I extracted a zip in the file manager and everything came back as 750. On my laptop the files were readable by everyone, so nothing looked wrong. On the server, the web process could not read the uploaded files at all, and the pages came back blank. Localhost had no way to warn me, because localhost and the server disagree about who owns a file. Now the first thing I do after an upload is open the live page in a private tab and look at it with my own eyes.

The second lesson was the CDN. My host's CDN caches aggressively, so a fix can look live to me and stale to everyone else. I once "fixed" a bug, checked the page, saw the fix, and closed the ticket — then a visitor reported the same bug an hour later. The page I had checked was served from my own browser cache and the CDN edge near me, while visitors elsewhere still got the old copy. I flush the cache after every upload now, and I check in a fresh private window, not the tab I have been staring at all day.

The third lesson was the API. My downloader calls third-party services, and one of them returns empty responses to datacenter IPs. From my laptop, the test worked. From the server, the same call came back with nothing. The difference was not the code — it was where the request came from. You cannot reproduce that on localhost at all. The only honest test is a request that actually leaves the server.

So my routine after every upload is short and boring, which is exactly why it works:

  1. Flush the CDN cache, if the host has one.
  2. Open the live page in a private window — the homepage and the page I changed.
  3. Paste a real link I own into the tool and run a full download, start to finish.
  4. Check the browser console for errors and the network tab for anything returning 404.
  5. Only then call it done.

It takes about two minutes. The fixes it catches take much longer when a visitor finds them first — a broken download, a missing favicon, a redirect loop, a page that loads but whose button does nothing. Every one of those has happened to me, and every one of them passed on localhost.

Localhost still has a job: it is where I write the code and catch the typos. But it is not where I verify the site. The site lives on the server, under real limits, behind a real cache, making real requests from a real IP. That is the only place the truth about a change exists.

I build ramrom.io in plain PHP on shared hosting, and the live check is part of the deploy, not an optional extra. If you ship to a host you do not control, test where your visitors actually are — because that is the only test that counts.