# Can't access file

**URL:** <https://forum.infinityfree.com/t/cant-access-file/82747>\
**Category:** Hosting Support\
**Created:** [September 15, 2023, 9:41pm UTC](https://forum.infinityfree.com/t/cant-access-file/82747 "2023-09-15T21:41:36Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Necro\_PC](https://forum.infinityfree.com/letter_avatar/necro_pc/32/5_5575768a8748004e209b776fc1b2916d.png) [@Necro\_PC](https://forum.infinityfree.com/u/Necro_PC)\
**Post date:** [September 15, 2023, 9:41pm UTC](https://forum.infinityfree.com/t/cant-access-file/82747/1 "2023-09-15T21:41:36Z")

</div>

### Website URL

[suttingdown.rf.gd](http://suttingdown.rf.gd/)

### Error Message

404 not found  
(please share the FULL error message you see, if applicable)

### Other Information

I uploaded the html and mhtml file via ftp, and when I logged in, a 404 not found error appeared, even though I checked permissions. and thank you

---

<div class="post-metadata">

**Author:** ![solace-ken](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/solace-ken/32/29500_2.png) [@solace-ken](https://forum.infinityfree.com/u/solace-ken)\
**Post date:** [September 15, 2023, 10:22pm UTC](https://forum.infinityfree.com/t/cant-access-file/82747/2 "2023-09-15T22:22:01Z")

</div>

Hi,

Welcome to the forum.

If you log in to your InfinityFree account and go to your account you should see your website IP address. What is it?

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [September 15, 2023, 10:26pm UTC](https://forum.infinityfree.com/t/cant-access-file/82747/3 "2023-09-15T22:26:45Z")

</div>

The IP is 185.27.134.137, but that does not matter. You want to look at the hosting volume for the upgrade.

@Necro_PC - can you provide the hosting volume of your account? Also, I see a 403 error on your website, not a 404.

---

<div class="post-metadata">

**Author:** ![solace-ken](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/solace-ken/32/29500_2.png) [@solace-ken](https://forum.infinityfree.com/u/solace-ken)\
**Post date:** [September 15, 2023, 10:27pm UTC](https://forum.infinityfree.com/t/cant-access-file/82747/4 "2023-09-15T22:27:53Z")

</div>

> [@Greenreader9](#):
>
> You want to look at the hosting volume for the upgrade.

Got it. Thanks.

---

<div class="post-metadata">

**Author:** ![Necro\_PC](https://forum.infinityfree.com/letter_avatar/necro_pc/32/5_5575768a8748004e209b776fc1b2916d.png) [@Necro\_PC](https://forum.infinityfree.com/u/Necro_PC)\
**Post date:** [September 16, 2023, 3:22pm UTC](https://forum.infinityfree.com/t/cant-access-file/82747/5 "2023-09-16T15:22:49Z")

</div>

Sorry for the delay, this is vol15\_5

---

<div class="post-metadata">

**Author:** ![Necro\_PC](https://forum.infinityfree.com/letter_avatar/necro_pc/32/5_5575768a8748004e209b776fc1b2916d.png) [@Necro\_PC](https://forum.infinityfree.com/u/Necro_PC)\
**Post date:** [September 16, 2023, 3:25pm UTC](https://forum.infinityfree.com/t/cant-access-file/82747/6 "2023-09-16T15:25:42Z")

</div>

If I go to the file, for example, www.suttingdown.rf.gd/htdocs/file.mhtml, I can’t access it and error 404 appears even though I uploaded the file correctly via ftp

---

<div class="post-metadata">

**Author:** ![ChrisPAR](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/chrispar/32/8743_2.png) [@ChrisPAR](https://forum.infinityfree.com/u/ChrisPAR)\
**Post date:** [September 16, 2023, 3:50pm UTC](https://forum.infinityfree.com/t/cant-access-file/82747/7 "2023-09-16T15:50:29Z")

</div>

That’s because you aren’t meant to go to www.suttingdown.rf.gd/htdocs/file.mhtml, but www.suttingdown.rf.gd/file.mhtml.

> [@Redirected to InfinityFree 404 error page](https://forum.infinityfree.com/t/redirected-to-infinityfree-404-error-page/49355#the-htdocs-folder-is-not-visible-in-the-url-7):
>
> 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)

---

<div class="post-metadata">

**Author:** ![Necro\_PC](https://forum.infinityfree.com/letter_avatar/necro_pc/32/5_5575768a8748004e209b776fc1b2916d.png) [@Necro\_PC](https://forum.infinityfree.com/u/Necro_PC)\
**Post date:** [September 16, 2023, 4:07pm UTC](https://forum.infinityfree.com/t/cant-access-file/82747/8 "2023-09-16T16:07:55Z")

</div>

> [@ChrisPAR](#):
>
> That’s because you aren’t meant to go to www.suttingdown.rf.gd/htdocs/file.mhtml, but www.suttingdown.rf.gd/file.mhtml.

but if the folder is not in htdocs folder ?

---

<div class="post-metadata">

**Author:** ![anon42008019](https://forum.infinityfree.com/letter_avatar/anon42008019/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon42008019](https://forum.infinityfree.com/u/anon42008019)\
**Post date:** [September 16, 2023, 4:15pm UTC](https://forum.infinityfree.com/t/cant-access-file/82747/9 "2023-09-16T16:15:10Z")

</div>

Htdocs is the root directory, you shouldn’t be able to upload any files outside it.

---

<div class="post-metadata">

**Author:** ![ChrisPAR](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/chrispar/32/8743_2.png) [@ChrisPAR](https://forum.infinityfree.com/u/ChrisPAR)\
**Post date:** [September 16, 2023, 5:52pm UTC](https://forum.infinityfree.com/t/cant-access-file/82747/10 "2023-09-16T17:52:47Z")

</div>

As said by @anon42008019 above, `htdocs` is your website’s root directory, anything outside it is automatically deleted (which I guess is the reason you cannot see them):

> [@Why do I see the default welcome page](https://forum.infinityfree.com/t/why-do-i-see-the-default-welcome-page/49317/1):
>
> ### Make sure to upload your files to the htdocs folder
> 
> When uploading website content, please make sure you’re uploading it to the folder called `htdocs`. Other hosting platforms may have a folder called `public_html` or `www` which is used for website files. On InfinityFree, this folder is called `htdocs`.
> 
> Files uploaded outside the htdocs folder are automatically deleted, so please make sure to upload all content to the `htdocs` folder of your domain.

---

<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:** [September 23, 2023, 5:53pm UTC](https://forum.infinityfree.com/t/cant-access-file/82747/11 "2023-09-23T17:53:24Z")

</div>

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