How to Upload Files to a Subdomain on DirectAdmin
Uploading files to a subdomain is similar to uploading files to any other directory on your server. Follow the steps below to upload files to your subdomain.
Accessing Your Subdomain Folder
Each subdomain you create is placed within the public_html
directory. The path to your subdomain will look like this:
public_html/subdomain-name/
For example, if your subdomain is blog.yoursite.com
, the folder path will be:
public_html/blog/
Your subdomain can also be accessed directly via:
http://www.yoursite.com/subdomain-name
Uploading Files to Your Subdomain
You can upload files to your subdomain using several methods, depending on your preference:
-
FTP:
Use an FTP client (such as FileZilla) to connect to your hosting account and upload files to the corresponding subdomain folder (public_html/subdomain-name/
). -
File Manager:
DirectAdmin provides a File Manager tool, where you can easily drag and drop files into your subdomain's folder.- Log in to DirectAdmin and navigate to File Manager.
- Locate the
public_html/subdomain-name
folder. - Upload your files directly there.
-
MS FrontPage or other Website Tools:
If you are using website tools like MS FrontPage, configure them to publish your site to the subdomain folder path:public_html/subdomain-name
.
Important Notes
- Ensure that your files are uploaded to the correct subdomain folder (
public_html/subdomain-name
) to ensure they are accessible on the web. - After uploading, you can visit your subdomain via http://www.yoursite.com/subdomain-name to see the changes live.