Introduction
Managing your website’s structure often requires creating new directories or files. With Tublat hosting, you can easily do this using the cPanel File Manager—no FTP client needed. In this guide you’ll learn how to add new folders and files via cPanel, best practices, and tips to avoid common mistakes.
Why Use File Manager for Folder/File Creation
-
Immediate access through your browser without needing external tools.
-
Perfect for adding configuration files, index pages, or organizing website content.
-
Ensures correct ownership and permissions under your hosting environment.
-
Faster than creating via FTP and then uploading—especially for small or single files.
Step-by-Step: Creating a New Folder / Directory via cPanel
-
Log in to Your Tublat cPanel
Use the provided URL (typicallyyourdomain.com/cpanelor the Tublat dashboard) and enter your credentials. -
Open File Manager
In the cPanel interface, go to the Files section and click File Manager to access your file browser. -
Navigate to the Desired Parent Directory
In the left panel, browse to the folder where you want to create the new directory (for example:public_html, or a subfolder for a domain or subdomain). -
Create a New Folder / Directory
-
Click the + Folder button in the toolbar (or “New Folder” depending on interface).
-
In the dialog box that appears, specify the name of the new folder.
-
Ensure the path is correct (it should show the parent directory).
-
Click Create New Folder (or “Create”) to finalize.
-
The new folder should appear in the list on the left or right pane.
-
-
Create a New File
-
Click the + File (or “New File”) button in the toolbar.
-
A dialog prompts for the file name, including extension (e.g.
index.html,robots.txt) and the path. -
Ensure the path is correct (inside the folder where you want the file).
-
Click Create New File (or “Create”) to generate the file.
-
The empty file will appear in the file list; you can then edit its contents using the built-in editor.
-
-
Edit or Move the File/Folder as Needed
Once created, you can right-click (or use toolbar options) to rename, move, copy, delete, change permissions, or edit the file.
Best Practices & Tips
-
Use lowercase names and no spaces, especially for web-accessible files and folders.
-
Keep directory names short, meaningful, and avoid special characters.
-
For configuration files (e.g.
.htaccess), ensure hidden files are visible in File Manager settings. -
After creating, check file permissions (commonly
644for files,755for folders) so that your web server can read them. -
If creating a folder for a subdomain, double-check the root path (for example,
public_html/subdomain). -
To create nested structure, you can create the parent folder first, then navigate into it and create child folders.
Common Issues & Troubleshooting
-
Button not visible or disabled: The ability to create files/folders might be restricted by your hosting plan—contact Tublat support to enable it.
-
Permission denied error: The parent directory may not allow write actions—check with support.
-
File or folder doesn’t appear: Hit Refresh in File Manager or clear browser cache.
-
Wrong path: Always verify you’re in the correct parent directory before naming the new element.
-
Hidden files not seen: Enable “Show Hidden Files (dotfiles)” in File Manager settings to see files starting with a dot (e.g.
.htaccess).
Why This Matters for Tublat Users
Mastering how to create directories and files within cPanel helps you structure your website efficiently, deploy new pages fast, and maintain organization. For Tublat users, this method ensures consistency, correct permissions, and convenience without relying on separate tools. Whether you're adding a new landing page, a JSON config, or organizing media assets, this workflow streamlines your web management.