Creating new directories or files in Plesk’s File Manager is a simple and efficient way to manage your website files or organize server data.
Follow these steps to create new directories or files.
Step 1: Log in to Plesk
- Open your web browser and navigate to your Plesk login page:
- Example:
https://yourdomain.com:8443
orhttps://your-server-ip:8443
.
- Example:
- Enter your username and password and click Log In.
Step 2: Open the File Manager
- Once logged in to Plesk, navigate to the Websites & Domains tab.
- Find the domain or website where you want to create the new directory or file.
- Click on the File Manager icon located under the Files section.
Step 3: Create a New Directory
- Inside the File Manager, navigate to the location where you want to create the new directory (e.g., the
httpdocs
folder for website files). - In the File Manager, click on the + New button at the top of the page.
- From the dropdown menu, select New Directory.
- In the dialog box, enter the name of the directory you want to create (e.g.,
new-folder
). - Click OK to create the directory.
- The new directory will appear in the list of files.
Step 4: Create a New File
- Navigate to the folder where you want to create the new file.
- In the File Manager, click on the + New button again.
- From the dropdown menu, select New File.
- In the dialog box, enter the name of the file, including the appropriate file extension (e.g.,
newfile.html
ornewfile.php
). - Click OK to create the new file.
- The new file will appear in the directory, and you can right-click on it to edit or upload content.
Step 5: Edit or Add Content to the File
- Once the file is created, right-click the file and select Edit to open the file in the built-in text editor.
- Add the desired content (e.g., HTML, PHP code, text) to the file and click Save once you're done.
- The file is now ready to be used for your website or other purposes.
Step 6: Verify the Directory or File Creation
- After creating the directory or file, check to make sure it's visible in the File Manager.
- You can also upload additional files or organize content inside the newly created directory.
Additional Tips
- Folder Permissions: When creating a directory, make sure it has the proper permissions set so that users or applications can read/write to it if needed.
- Organize Files: Use meaningful names for directories and files to keep your content organized. For example, create separate folders for images, CSS, JavaScript, etc.
- File Extensions: Always add the correct file extension when creating files. For example,
.html
,.php
,.txt
, etc., to ensure the server handles them correctly.
By following these steps, you can easily create new directories or files within Plesk File Manager to organize your website's content or server data. Whether it's a simple text file or a folder for organizing resources, Plesk makes it straightforward to manage your server's files directly from the browser interface.