How to Access /home on Shared Hosting

When you are using shared hosting, accessing the /home directory may not be possible directly.

In a shared hosting environment, you are essentially sharing server resources with other users on the same physical web server. Due to security measures implemented by hosting providers, direct access to the /home directory is often restricted. This restriction is in place to prevent users from accessing or modifying files and directories that do not belong to them, ensuring the security and privacy of each user’s data.

However, even though direct access to the /home directory is restricted, you still have alternative methods to access and manage your files within it. These methods are designed to provide a secure and controlled environment for managing your website’s content.

Let’s explore the two common approaches:

See also  How to Setup VsFTPD Service with SSL/TLS on Linux CentOS 7 / RHEL 7 / Oracle Linux 7

Option 1: File Manager in Hosting Control Panel:

Most shared hosting providers offer a web-based file manager within their hosting control panel. Here’s how you can access your /home directory using the file manager:

  • Log in to your hosting control panel provided by your hosting company. This is typically accessed through a web browser with a URL like or
    1. Locate and click on the “File Manager” or similar option in the control panel. This will open the file manager interface.
    2. In the file manager, navigate to the root directory or the home directory of your hosting account. This may be labeled as public_html, www, or similar.
    3. Look for a folder or link labeled home or your account username. This represents your /home directory. Click on it to access its contents.
    See also  How To Get Email Alerts for SSH Login on Linux Server

    From here, you can navigate through the directories within /home and manage your files, upload new files, edit existing files, or create new directories as needed.

    Option 2: FTP/SFTP Access:

    Another method to access your /home directory on shared hosting is by using FTP (File Transfer Protocol) or SFTP (Secure Shell File Transfer Protocol). Here’s how to do it:

    1. Download an FTP/SFTP client program such as FileZilla, Cyberduck, or WinSCP. These programs allow you to connect to your hosting account using FTP/SFTP.
    2. Launch the FTP/SFTP client and enter the required information to connect to your hosting account. This typically includes the FTP/SFTP server address, username, password, and port number.
    3. Once connected, you will see your local computer’s file system on one side and the remote file system (your hosting account) on the other side.
    4. Navigate through the directories on the remote file system until you reach the /home directory or its subdirectories.
    See also  How to Uninstall vsftpd on Ubuntu

    From here, you can manage your files and directories within the /home directory, such as uploading, downloading, deleting, or modifying files as needed.


    Although accessing the /home directory directly on shared hosting may not be possible, you can use the file manager provided in the hosting control panel or connect via FTP/SFTP to manage your files and directories within the /home directory. These methods offer convenient ways to handle your website’s files and ensure smooth operation and maintenance.

    If you have any further questions or suggestions for improvement, please feel free to comment below.


    Leave a Reply

    Your email address will not be published. Required fields are marked *