# Domain shows 403 Forbidden even though index.html exists in htdocs

**URL:** <https://forum.infinityfree.com/t/domain-shows-403-forbidden-even-though-index-html-exists-in-htdocs/121226>\
**Category:** Hosting Support\
**Created:** [October 11, 2026, 6:48am UTC](https://forum.infinityfree.com/t/domain-shows-403-forbidden-even-though-index-html-exists-in-htdocs/121226 "2026-10-11T06:48:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AqibAbbas](https://forum.infinityfree.com/letter_avatar/aqibabbas/32/6_449c533f586939b6e5f246632a46421f.png) [@AqibAbbas](https://forum.infinityfree.com/u/AqibAbbas)\
**Post date:** [October 11, 2026, 6:48am UTC](https://forum.infinityfree.com/t/domain-shows-403-forbidden-even-though-index-html-exists-in-htdocs/121226/1 "2026-10-11T06:48:31Z")

</div>

### Website URL

[http://brightfuturecoaching.infinityfree.me/](http://brightfuturecoaching.infinityfree.me/)

### Error Message

403 Forbidden — Server or website configuration is blocking you from viewing this page.

### Other Information

Hello InfinityFree Support,

My website has been inaccessible for more than 72 hours after creating the hosting account.

My domain is [brightfuturecoaching.infinityfree.me](http://brightfuturecoaching.infinityfree.me), and the domain directory is shown as htdocs. The files index.html and test.html are present directly inside htdocs, but the website root returns 403 Forbidden and /test.html returns 404 Not Found.

The Health Check also says: “No index file was found for your website!”

I have confirmed the files are present in File Manager. Could you please check whether my domain is correctly mapped to the htdocs directory and whether there is any server-side configuration issue?

Thank you.

---

<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 11, 2026, 6:48am UTC](https://forum.infinityfree.com/t/domain-shows-403-forbidden-even-though-index-html-exists-in-htdocs/121226/2 "2026-10-11T06:48:31Z")

</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 11, 2026, 6:48am UTC](https://forum.infinityfree.com/t/domain-shows-403-forbidden-even-though-index-html-exists-in-htdocs/121226/3 "2026-10-11T06:48:43Z")

</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 403 and the Health Check message both suggest the server isn’t finding your files in the folder your domain points to. Can you tell me the full path where `index.html` sits? For example, is it `/htdocs/index.html`, or inside a folder named after your domain? And what does the Directory Status card for your domain say?

You can find that card in the client area under Accounts → your account → Domains → your domain → Manage. This article covers it:

> [@Redirected to InfinityFree 403 Forbidden page](https://forum.infinityfree.com/docs?topic=58664):
>
> Getting a 403 error means the server is refusing to show your webpage. Here are the most common causes and how to fix them: 1. Website Files Are in the Wrong Location The Issue: Your domain might be pointing to an empty or non-existent folder. How to Check: Log into your [InfinityFree client area](https://dash.infinityfree.com) Go to Accounts → [Select your account] → Domains → [Find your domain] → Manage Find the Directory Status card, and look at the Directory displayed there Understanding the folder structure: Your fi…

The article says a domain only serves files from the exact folder shown there. If your files are one level off, say in a subfolder or a different `htdocs`, you’d get a 403 on the root and a 404 on `/test.html`, as you describe. It also says the filenames are case-sensitive. `index.html` works, but `Index.html` or `index.html.txt` won’t.

I can’t tell from the topic which of these it is. The path and the Directory Status card should settle it. If both match and the files really are in the right folder, a person will need to look at it.

---

<div class="post-metadata">

**Author:** ![AqibAbbas](https://forum.infinityfree.com/letter_avatar/aqibabbas/32/6_449c533f586939b6e5f246632a46421f.png) [@AqibAbbas](https://forum.infinityfree.com/u/AqibAbbas)\
**Post date:** [October 11, 2026, 7:07am UTC](https://forum.infinityfree.com/t/domain-shows-403-forbidden-even-though-index-html-exists-in-htdocs/121226/4 "2026-10-11T07:07:05Z")

</div>

The Directory shown in the client area is `htdocs`.

The files `index.html` and `test.html` are present directly inside the `htdocs` folder. However, `http://brightfuturecoaching.infinityfree.me/test.html` returns a 404 Not Found page, and the Health Check still says “No index file was found for your website.”

Could a volunteer or admin please help check why the files are not being served from the displayed directory?

---

<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 11, 2026, 7:28am UTC](https://forum.infinityfree.com/t/domain-shows-403-forbidden-even-though-index-html-exists-in-htdocs/121226/5 "2026-10-11T07:28:02Z")

</div>

The error pages make me suspect that you are in fact, **not** uploading the files to the correct directory, because the website folder might be missing.

> [@AqibAbbas](#):
>
> Could a volunteer

Please read

> [@system](#):
>
> - 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.

> [@AqibAbbas](#):
>
> or admin

Please read again

> [@system](#):
>
> - Admin (the only staff member) checks in about once a day for issues on our end.

---

<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 11, 2026, 8:02am UTC](https://forum.infinityfree.com/t/domain-shows-403-forbidden-even-though-index-html-exists-in-htdocs/121226/6 "2026-10-11T08:02:02Z")

</div>

I just checked it and everything looks fine now. The home page works for me, the test.html works for me, and the status check reports no issues.

The issue sounds like caching to me. The members area doesn’t check your files every time you refresh the page, it only does it once in a while (every 10 minutes off the top of my head). Your browser may also be remembering that it encountered the 404 error and not check it again.

Can you please try checking your website through Incognito Mode in your browser and see if you can access the pages them? If you can, it’s 100% a browser caching issue.

---

<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 18, 2026, 8:02am UTC](https://forum.infinityfree.com/t/domain-shows-403-forbidden-even-though-index-html-exists-in-htdocs/121226/7 "2026-10-18T08:02:46Z")

</div>

Closed on October 18, 2026, 8:02am UTC

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