Uploading Files Using Virtualmin File Manager

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

  1. Navigate to File Manager:
    • In the sidebar, click File Manager (often found under the Webmin section or directly in the Virtualmin dashboard).
  2. 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.

3. Upload Files

  1. 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 like public_html/images).
  2. Upload Files:
    • Click the Upload button or icon (often a cloud or arrow-up icon).
    • In the upload dialog, click Browse or Choose 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.
  3. Verify Upload:
    • After uploading, the files should appear in the File Manager. Refresh the view if needed.

4. Edit Files

  1. Select a File:
    • In the File Manager, locate the file you want to edit (e.g., index.html).
  2. Open the Editor:
    • Right-click the file and select Edit, or click the file name and choose Edit from the toolbar.
    • The file will open in a built-in text editor.
  3. Make Changes:
    • Edit the file content as needed (e.g., update HTML code or text).
    • Click Save or Save 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 click Create.
  • Delete Files/Folders:
    • Select the file or folder, then click Delete or right-click and choose Delete.
    • Confirm the deletion. Be cautious, as deleted files cannot be recovered unless you have a backup.
  • 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.

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.
  • Organize Files:
    • Use subdirectories (e.g., images, css) to keep your web directory organized.

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.

Categories: SSH / sFTP / FTP