# Path for the htdocs directory?

**URL:** <https://forum.infinityfree.com/t/path-for-the-htdocs-directory/117957>\
**Category:** Hosting Support\
**Created:** [March 10, 2026, 3:28pm UTC](https://forum.infinityfree.com/t/path-for-the-htdocs-directory/117957 "2026-03-10T15:28:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [March 10, 2026, 3:40pm UTC](https://forum.infinityfree.com/t/path-for-the-htdocs-directory/117957/2 "2026-03-10T15:40:54Z")

</div>

the htdocs folder is the root of your site. So if you put an index.html in your htdocs folder then when you navigate to [mywebsite.great-site.net](http://mywebsite.great-site.net) it’ll show that index file.

If you’re trying to FTP to your site, you’re going about it the wrong way too. Please follow the instructions here:

> [@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…

---

_[View the full topic](https://forum.infinityfree.com/t/path-for-the-htdocs-directory/117957)._
