# Getting 403 even after uploading my project files in htdocs

**URL:** <https://forum.infinityfree.com/t/getting-403-even-after-uploading-my-project-files-in-htdocs/110314>\
**Category:** Hosting Support\
**Created:** [May 13, 2025, 7:39am UTC](https://forum.infinityfree.com/t/getting-403-even-after-uploading-my-project-files-in-htdocs/110314 "2025-05-13T07:39:16Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![MishrialTransport](https://forum.infinityfree.com/letter_avatar/mishrialtransport/32/5_5575768a8748004e209b776fc1b2916d.png) [@MishrialTransport](https://forum.infinityfree.com/u/MishrialTransport)\
**Post date:** [May 13, 2025, 7:39am UTC](https://forum.infinityfree.com/t/getting-403-even-after-uploading-my-project-files-in-htdocs/110314/1 "2025-05-13T07:39:16Z")

</div>

### Website URL

([http://mishrialtransport.kesug.com](http://mishrialtransport.kesug.com))

### Error Message

# 403 Forbidden

#### Server or website configuration is blocking you from viewing this page

### Other Information

I’ve uploaded all file sin htdocs but still not able to access my frontend

---

<div class="post-metadata">

**Author:** ![wasik405](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/wasik405/32/55080_2.png) [@wasik405](https://forum.infinityfree.com/u/wasik405)\
**Post date:** [May 13, 2025, 7:43am UTC](https://forum.infinityfree.com/t/getting-403-even-after-uploading-my-project-files-in-htdocs/110314/2 "2025-05-13T07:43:04Z")

</div>

Welcome to the community.  
Do you have an index file? If so, ensure the name is in lowercases. And also read this article:

> [@Redirected to InfinityFree 403 Forbidden page](https://forum.infinityfree.com/t/redirected-to-infinityfree-403-forbidden-page/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…

---

<div class="post-metadata">

**Author:** ![dan3008](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/dan3008/32/53336_2.png) [@dan3008](https://forum.infinityfree.com/u/dan3008)\
**Post date:** [May 13, 2025, 7:43am UTC](https://forum.infinityfree.com/t/getting-403-even-after-uploading-my-project-files-in-htdocs/110314/3 "2025-05-13T07:43:52Z")

</div>

do you have an index.html or index.php?

remember its case sensitive so cannot be capitalised?

other than that, have you made any changes to the .htaccess file?

---

<div class="post-metadata">

**Author:** ![MishrialTransport](https://forum.infinityfree.com/letter_avatar/mishrialtransport/32/5_5575768a8748004e209b776fc1b2916d.png) [@MishrialTransport](https://forum.infinityfree.com/u/MishrialTransport)\
**Post date:** [May 13, 2025, 7:46am UTC](https://forum.infinityfree.com/t/getting-403-even-after-uploading-my-project-files-in-htdocs/110314/4 "2025-05-13T07:46:00Z")

</div>

Yes i have it in htdocs folder named as index\_main.php

---

<div class="post-metadata">

**Author:** ![MishrialTransport](https://forum.infinityfree.com/letter_avatar/mishrialtransport/32/5_5575768a8748004e209b776fc1b2916d.png) [@MishrialTransport](https://forum.infinityfree.com/u/MishrialTransport)\
**Post date:** [May 13, 2025, 7:46am UTC](https://forum.infinityfree.com/t/getting-403-even-after-uploading-my-project-files-in-htdocs/110314/5 "2025-05-13T07:46:44Z")

</div>

yes through wordpress etc but i delete all the installation of wordpress

---

<div class="post-metadata">

**Author:** ![wasik405](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/wasik405/32/55080_2.png) [@wasik405](https://forum.infinityfree.com/u/wasik405)\
**Post date:** [May 13, 2025, 7:51am UTC](https://forum.infinityfree.com/t/getting-403-even-after-uploading-my-project-files-in-htdocs/110314/6 "2025-05-13T07:51:50Z")

</div>

By default, the server looks for `index.html` , `index.htm` or `index.php` file so you may have to rename it to `index.php`. If renaming the index file isn’t an option for you, create a `.htaccess` file in the `htdocs` folder with the following content:

```auto
DirectoryIndex index_main.php
```

---

<div class="post-metadata">

**Author:** ![MishrialTransport](https://forum.infinityfree.com/letter_avatar/mishrialtransport/32/5_5575768a8748004e209b776fc1b2916d.png) [@MishrialTransport](https://forum.infinityfree.com/u/MishrialTransport)\
**Post date:** [May 13, 2025, 7:59am UTC](https://forum.infinityfree.com/t/getting-403-even-after-uploading-my-project-files-in-htdocs/110314/7 "2025-05-13T07:59:50Z")

</div>

Thank you for looking into it. I’ve renamed it and due to this i got access to the website.

But i’m unable to open genrated pdfs of my project. I dont know the reason. Can you please tell me that can this be the reason (While uploading a folder in htdocs along with files, folder have some files upon which i got prompt that security issues or something so i skipped 2-3 files)?

---

<div class="post-metadata">

**Author:** ![wasik405](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/wasik405/32/55080_2.png) [@wasik405](https://forum.infinityfree.com/u/wasik405)\
**Post date:** [May 13, 2025, 8:14am UTC](https://forum.infinityfree.com/t/getting-403-even-after-uploading-my-project-files-in-htdocs/110314/8 "2025-05-13T08:14:08Z")

</div>

Can you check whether the PDF files are still in the correct folder? If they’re missing, they may have been removed due to exceeding the [10MB individual file size limit](https://forum.infinityfree.com/t/why-are-my-files-deleted-after-uploading-them/49310) or a bug in the online file manager that prevented it from being uploaded. This is a known issue, the file manager can sometimes display an FTP quota exceeded/file upload blocked for security error. It’s recommended to use an FTP client like [FileZilla](https://filezilla-project.org/download.php?type=client) for uploading multiple files or folders at once:

> [@How to upload files with FTP](https://forum.infinityfree.com/t/how-to-upload-files-with-ftp/49306):
>
> The best and most reliable way to upload files is to use FTP. To upload files with FTP, you will need to following: Your FTP username Your FTP password The FTP hostname An FTP client You can find your FTP username, password and hostname in the client area under the FTP Details section. The FTP password is the same as your hosting account and control panel password, which is different from the password for the client area. If you like videos better then text guides, you can find one at the bot…

---

<div class="post-metadata">

**Author:** ![MishrialTransport](https://forum.infinityfree.com/letter_avatar/mishrialtransport/32/5_5575768a8748004e209b776fc1b2916d.png) [@MishrialTransport](https://forum.infinityfree.com/u/MishrialTransport)\
**Post date:** [May 13, 2025, 11:07am UTC](https://forum.infinityfree.com/t/getting-403-even-after-uploading-my-project-files-in-htdocs/110314/9 "2025-05-13T11:07:16Z")

</div>

Thank You All. Resolved my issue. Your Kind and Valuable input helped me to go through it.

---

<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:** [May 20, 2025, 11:07am UTC](https://forum.infinityfree.com/t/getting-403-even-after-uploading-my-project-files-in-htdocs/110314/10 "2025-05-20T11:07:26Z")

</div>

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