Uploading Files via File Manager or FTP

Once your Virtual Server is created, you can upload your website files either through Virtualmin’s built-in File Manager or by connecting with an external FTP client. Both methods give you full access to your website’s document root.

Option 1: Upload Files Using the File Manager
1. Log in to your Virtualmin dashboard.
2. Select your domain from the drop-down in the top-left corner if it’s not already active.
3. From the left menu, click File Manager under the Webmin section.
4. Navigate to your site’s public directory, usually public_html or /home/yourdomain/public_html.
5. Click the File or Upload icon at the top to browse for files on your computer.
6. Select the files you want to upload and click Upload Files to transfer them to your server.
7. Once uploaded, verify that the files appear in the correct folder before closing the File Manager.

Option 2: Upload Files Using an FTP Client
1. Open your preferred FTP client, such as FileZilla, WinSCP, or Cyberduck.
2. Enter the following connection details:
  • Host: your domain name (for example, yourdomain.com)
  • Port: 21
  • Username: your Virtualmin username
  • Password: your Virtualmin password
3. Click Connect to establish a session.
4. After connecting, open the public_html folder on the server side.
5. Drag and drop your website files from your computer’s local folder into the server’s public_html folder.
6. Wait for all transfers to complete and confirm that files appear in the correct location.

Verifying Your Upload:
• Open your browser and visit https://yourdomain.com.
• If everything uploaded correctly, your website should now display your own content instead of the default “It Works!” page.
• If the old page still shows, clear your browser cache or try refreshing with Ctrl + F5.

Next Steps:
• Enable an SSL certificate through Let’s Encrypt to secure your website.
• Test your site on both HTTP and HTTPS to confirm it loads correctly.
• Continue to “Enabling SSL Certificates (Let’s Encrypt)” for a quick setup guide.

Please rate this article to help us improve our Knowledge Base.

0 0