This guide explains how to upload, edit, and manage files in your domain’s web directory using the Virtualmin File Manager. You can manage your website files directly from the Virtualmin control panel, making it easy to update content without needing FTP.
Prerequisites
- Virtualmin Access: You must have login credentials for the Virtualmin control panel.
- Domain Configured: The domain for which you want to manage files must be set up in Virtualmin.
- File Manager Enabled: Ensure the File Manager is accessible in your Virtualmin account (usually enabled by default).
Step-by-Step Guide
1. Log in to Virtualmin
Access the Virtualmin control panel with your credentials. Select the domain you want to manage from the dropdown menu in the top-left corner.
2. Access the File Manager
- Navigate to File Manager:
- In the sidebar, click
File Manager
(often found under theWebmin
section or directly in the Virtualmin dashboard).
- In the sidebar, click
- Open the Web Directory:
- The File Manager will open, typically starting in your domain’s home directory (e.g.,
/home/yourdomain
). - Navigate to the web directory, usually
public_html
(e.g.,/home/yourdomain/public_html
), where website files are stored.
- The File Manager will open, typically starting in your domain’s home directory (e.g.,
3. Upload Files
- Select the Destination Folder:
- In the File Manager, navigate to the folder where you want to upload files (e.g.,
public_html
or a subdirectory likepublic_html/images
).
- In the File Manager, navigate to the folder where you want to upload files (e.g.,
- Upload Files:
- Click the
Upload
button or icon (often a cloud or arrow-up icon). - In the upload dialog, click
Browse
orChoose Files
to select files from your computer. - Select one or multiple files (e.g.,
index.html
,style.css
, or images). - Click
Upload
to transfer the files to the server.
- Click the
- Verify Upload:
- After uploading, the files should appear in the File Manager. Refresh the view if needed.
4. Edit Files
- Select a File:
- In the File Manager, locate the file you want to edit (e.g.,
index.html
).
- In the File Manager, locate the file you want to edit (e.g.,
- Open the Editor:
- Right-click the file and select
Edit
, or click the file name and chooseEdit
from the toolbar. - The file will open in a built-in text editor.
- Right-click the file and select
- Make Changes:
- Edit the file content as needed (e.g., update HTML code or text).
- Click
Save
orSave and Close
to apply changes.
5. Manage Files and Folders
- Create a New Folder:
- Click
New Directory
or the folder icon in the File Manager. - Enter a name (e.g.,
uploads
) and clickCreate
.
- Click
- Delete Files/Folders:
- Select the file or folder, then click
Delete
or right-click and chooseDelete
. - Confirm the deletion. Be cautious, as deleted files cannot be recovered unless you have a backup.
- Select the file or folder, then click
- Change Permissions:
- Right-click a file or folder and select
File Permissions
. - Adjust permissions (e.g.,
644
for files,755
for directories) if needed for your website. - Click
Save
to apply changes.
- Right-click a file or folder and select
Additional Tips
- File Size Limits:
- Check with support if you encounter upload size limits, as these are set at the server level.
- Backups:
- Regularly back up your
public_html
directory using Virtualmin’s backup feature to avoid data loss.
- Regularly back up your
- Organize Files:
- Use subdirectories (e.g.,
images
,css
) to keep your web directory organized.
- Use subdirectories (e.g.,
Common Troubleshooting
- Upload Fails: Ensure files are within size limits and your internet connection is stable. Contact support if the issue persists.
- File Not Visible on Website: Verify the file is in
public_html
and has correct permissions (e.g.,644
for files). - Permission Errors: Check file permissions or contact support to verify server settings.
For further assistance, contact our support team via the ShopWhizzy Helpdesk.