Files in /htdocs do not match files served by website

Website URL

https://pokomaru.xo.je/

Error Message

404 Not Found
The page you were looking for could not be found!
If you just came across this page, please carry on. If you are the website owner, please check the resources below.
Check the Knowledge Base article
Find more information about what this error means and how you might fix it.
Ask on the Forum
Maybe someone on our Community Forum can help you figure out this issue.

Other Information

Website URL:
https://pokomaru.xo.je/

Problem:

The files shown through FTP in /htdocs do not match what is served by the website.

For example, I edited /htdocs/counter.php through FTP.

The current FTP file contains:

STEP 4 20260916

However, when I access:

https://pokomaru.xo.je/counter.php

the website still shows the output from an older version:

DB CONNECTION OK

I also tested the following:

  • Incognito mode
  • Different query strings
  • FTP file download to confirm the uploaded contents
  • Renaming counter.php

When counter.php is renamed through FTP, the old URL correctly returns 404, so the FTP /htdocs directory appears to be the correct document root.

However, the renamed/new filename also returns 404.

The domain directory shown in the InfinityFree Client Area is:

htdocs

It seems that the files visible through FTP and the files served by the web server are not being synchronized correctly.

Could you please check this hosting account/server?

I’m sorry, but I don’t fully understand what the issue is. You first say you see a 404 error, then you say you see an older version of the page. Those are different issues, so I don’t see the relation.

Both your website’s home page and the counter.php page seem to be working fine as far as I can tell.

We do not cache PHP code output, so any changes made to PHP code should be visible instantly. We don’t cache other data on the server, but we do enforce strong browser caching by default. But you can clear that cache from your own browser, or just check the website in Incognito Mode to bypass any caches from your regular browsing session.