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

**URL:** <https://forum.infinityfree.com/t/website-showing-404-error-even-though-index-php-and-config-php-are-uploaded/121361>\
**Category:** Hosting Support\
**Created:** [October 16, 2026, 12:42am UTC](https://forum.infinityfree.com/t/website-showing-404-error-even-though-index-php-and-config-php-are-uploaded/121361 "2026-10-16T00:42:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![acimlngn](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/acimlngn/32/68175_2.png) [@acimlngn](https://forum.infinityfree.com/u/acimlngn)\
**Post date:** [October 16, 2026, 12:42am UTC](https://forum.infinityfree.com/t/website-showing-404-error-even-though-index-php-and-config-php-are-uploaded/121361/1 "2026-10-16T00:42:00Z")

</div>

### Website URL

[https://ricamalangen.infinityfreeapp.com/](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.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [October 16, 2026, 12:42am UTC](https://forum.infinityfree.com/t/website-showing-404-error-even-though-index-php-and-config-php-are-uploaded/121361/2 "2026-10-16T00:42:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Lemni](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lemni/32/68303_2.png) [@Lemni](https://forum.infinityfree.com/u/Lemni)\
**Post date:** [October 16, 2026, 12:42am UTC](https://forum.infinityfree.com/t/website-showing-404-error-even-though-index-php-and-config-php-are-uploaded/121361/3 "2026-10-16T00:42:21Z")

</div>

_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:

> [@Redirected to InfinityFree 404 error page](https://forum.infinityfree.com/docs?topic=49355):
>
> While working on your website, you may be redirected to the [InfinityFree 404 error page](https://infinityfree.net/errors/404/). This article explains why this typically happens and what you can do to fix this. Why do I get a 404 error When you try to access a file on a website, the server tries to find the matching file to load. By default, it works like this. Suppose you have a website [http://example.com](http://example.com) which is linked to the folder htdocs in your hosting account. If you then try to load a certain URL, like [http://example.com/blo…](http://example.com/blog/images/gallery/photo.jpg)

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:

> [@Why isn't my domain working yet?](https://forum.infinityfree.com/docs?topic=49237):
>
> You’ve just added a domain to your hosting account, or changed your domain’s nameservers. But when you visit it, you see a “DNS Resolution Error” page, a browser error saying the site can’t be found, or your old website instead of your new one. This is normal for a new domain. Most domains start working within 24 hours, but it can take up to 72 hours before a domain works for everyone around the world. How long it takes depends on things outside of our control, like your internet provider and y…

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`.

---

<div class="post-metadata">

**Author:** ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)\
**Post date:** [October 16, 2026, 3:51am UTC](https://forum.infinityfree.com/t/website-showing-404-error-even-though-index-php-and-config-php-are-uploaded/121361/4 "2026-10-16T03:51:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [October 16, 2026, 8:42am UTC](https://forum.infinityfree.com/t/website-showing-404-error-even-though-index-php-and-config-php-are-uploaded/121361/5 "2026-10-16T08:42:01Z")

</div>

> [@Meishin](#):
>
> DNS caching is unlikely the cause, unless you’ve recently removed the domain from one account then added it to another.

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.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [October 23, 2026, 8:42am UTC](https://forum.infinityfree.com/t/website-showing-404-error-even-though-index-php-and-config-php-are-uploaded/121361/6 "2026-10-23T08:42:10Z")

</div>

Closed on October 23, 2026, 8:42am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
