Error Message:
404 Not Found when visiting my website
Other Information:
I created this domain recently and uploaded my WordPress files to /site-ugb.infy.click/htdocs/. The index.php file is present (405 B) along with wp-admin, wp-content, wp-includes folders. However, the Health Check still shows “No index file was found for your website” and the site shows a 404 error.
I have an urgent deadline. Could you please check the server-side directory linking for this domain?
Welcome to the community forum. Please be aware that none of us are employed by InfinityFree (excluding admin, he’s the owner) so we have no more access than you do to change things. And we can’t access your account.
First thing to check is does your site have an index.php or index.html in the root of the htdocs folder? and it mustn’t be capitalised. Index.php wont work, but index.php will.
Depending where you hosted before, its possible that your index file has a different name, and that would cause these problems.
I’m assuming you mean that it routeing to your account. To check this, you can make a quick “index.html” that says something like “Hello World” and pop it in your htdocs folder, then if that’s displayed then you know that its linked correctly,.
However the based the error:
the missing index.php or index.html file is likely the problem
Did you install WordPress from Softaculous? If yes:
Delete the domain from control panel and re-add it should fix the problem (backup data first, and clear the whole htdocs directory). Missing index pages should generally give 403 instead of 404 on infinityfree, this looks more like a hosting platform bug rather than actually a missing index page
Your health check tool probably just treated 404 on root path as no index pages because it does make sense in general, but the tool is not tailor-made for IF, here it’s usually a 403
Or you could try a dummy page as said above first to see if it’s your problem or the hosting platform bug
I checked your account and I see you uploaded WordPress directly to the site-ugb.infy.click folder, not site-ugb.infy.click/htdocs. Since the htdocs folder is now missing entirely, that’s why you get this error.
Judging by the missing wp-config,php, it doesn’t look like this website was every installed. If so, my recommendation to fix this is to delete all the WordPress files in the site-ugb.infy.click` folder, then go to the client area and find the “The directory of this website is missing!” item in the health check, and click the Recreate Directory button. Then, use Softaculous to install WordPress: it’s easier, faster and less error prone.