How to upload website files in DirectAdmin
How to Upload Website Files in DirectAdmin
Uploading website files in DirectAdmin is a crucial step in the process of setting up your website. This guide will walk you through the process of uploading files to your server using the DirectAdmin control panel.
Table of Contents
- Prerequisites
- Accessing File Manager
- Uploading Files
- Setting Permissions
- Troubleshooting Common Issues
- Conclusion
Prerequisites
Accessing File Manager
- Login to DirectAdmin: Visit the URL of your server (e.g zada119.webway.host:2222) and log in with your username and password. You can find your login details and server URL in the "New Account Information" email. Alternatively, you can login to the client portal and login to your DirectAdmin hosting package from there.
- Navigate to File Manager: Once logged in, find the
File Manager
icon in the DirectAdmin dashboard and click on it.
Uploading Files
- Locate the Public_HTML Directory: Inside the File Manager, navigate to the
public_html
directory. This is the root directory for your website. - Upload Files:
- Click on the
Upload
button usually located at the top of the File Manager.
- Choose the files from your computer that you want to upload. You can select multiple files.
- Wait for the upload process to complete.
- Verify the Upload: After the upload finishes, ensure that your files are listed in the
public_html
directory. - Index file: In order for your website to load, you need to have a file named
index.html
orindex.php
in yourpublic_html
directory.
Setting Permissions
- Sometimes, you may need to set specific permissions for files or folders.
- To do this, right-click on the file or folder in the File Manager and select
Change Permissions
. - Set the permissions as required (e.g., 755 for folders and 644 for files is common), and then save the changes.
Troubleshooting Common Issues
public_html
).Conclusion
Uploading files to your website via DirectAdmin's File Manager is a straightforward process. Ensure that you upload the files to the right directory and set appropriate permissions. If you encounter issues, check the file size limits and permissions, or submit a support ticket.
Remember, keeping a backup of your website files before making significant changes is always a good practice.
Updated on: 20/01/2025
Thank you!