Website Showing 404 Error Even Though index.php and config.php Are Uploaded

Website URL

https://ricamalangen.infinityfreeapp.com/

Error Message

Error 404

Other Information

I have uploaded index.php and config.php to the htdocs directory.
I have created my MySQL database and the test_table table.

When I open my website, it displays the InfinityFree 404 error page saying that the page could not be found. The same error occurs when I access /index.php directly.

I have already tried opening the website using my phone’s mobile data and clearing the DNS cache on my Windows computer using ipconfig /flushdns.

My dashboard displays a warning that the new domain may take up to 72 hours to become accessible due to DNS propagation.

Welcome to the InfinityFree community forum! Good to have you here.

  • Most people answering here are volunteers. They’re often the fastest source of help. Admin (the only staff member) checks in about once a day for issues on our end.
  • Volunteers can’t see your account or website. Share what you actually see, like error messages and what happens when you try something. That’s more useful than your theory of what’s wrong.
  • AI tools often get InfinityFree wrong. If a volunteer’s advice differs from what an AI told you, please try the volunteer’s suggestion first.
  • Solving an issue is a joint effort. Try the suggestions you get and report back what happened.

Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look.

Your files may have gone into the wrong account. You have two hosting accounts, and ricamalangen.infinityfreeapp.com belongs to the newer one, the one created on October 15. If you uploaded to the File Manager of your older account (the one with the free.je domain), the new site’s htdocs is still empty. Can you check that index.php is in the htdocs folder of the newer account?

The 404 page also doesn’t look like a DNS delay to me. An article on this page says the server answers with a 404 when the requested path has no matching file in the folder the domain is linked to:

The same article says to open the Domains page in the client area and check which folder the domain is linked to. Make sure that folder exists and that your files are in it. It also says htdocs is not part of the URL, so htdocs/index.php is served at /index.php.

The DNS propagation article covers a different symptom, a browser error saying the site can’t be found. That isn’t what you’re seeing:

If the files are in the right account and the domain’s folder looks correct but you still get the 404, tell me what the Domains page shows as the folder for your domain. Also tell me whether there’s a .htaccess file in htdocs.

I simplified your message to make it easier to understand for everyone in the recent attempt to make support requests more streamlined.

Your website works properly for me.

DNS caching is unlikely the cause, unless you’ve recently removed the domain from one account then added it to another.

Try using incognito mode.

The domain was first created less than 24 hours ago, and moved to a different account in the mean time. So DNS caching is a very likely cause.

So whatever you do, just leave the domain on the account for now. Nothing is wrong with it, and doing more account shuffling means it will take longer for your website to start working.