Php file return 404 not found inside htdocs

Website URL

https://jabinarfoodstore.site.je/

Error Message

My existing website loads, but newly created PHP files return 404 Not Found, even when placed directly inside “htdocs”.

Other Information

I confirmed that phpcheck123.php exists directly inside htdocs, but opening https://jabinarfoodstore.site.je/phpcheck123.php still returns the InfinityFree 404 page. The main website continues to load. The domain document root points to htdocs.

Hello, I still have the same problem with my website.

My main website, https://jabinarfoodstore.site.je/, opens normally, but PHP test files return 404 Not Found.

I confirmed that “index.html”, “index.php”, and “phpcheck123.php” are inside the “htdocs” folder. I also tried creating a PHP test file inside a subfolder, but it also returned 404.

Could you please check whether my domain is correctly connected to my hosting directory and whether PHP files are being served correctly?

Thank you for yo

ur help.


Its working.

You may have an older version of the page cached so try clearing your browser cache first (it shouldn’t cache php pages, but some browsers are strange like that)