Skip to content
Help Center

How do I upload my website to hosting?

Learn how to upload your website to your hosting using DirectAdmin, cPanel, or FTP. Simple instructions, real examples, and tips to avoid common mistakes.

✅ Option 1: Upload your site via the File Manager

🧭 For DirectAdmin users

  1. Log into your DirectAdmin panel
    👉 Go to https://yourdomain.com:2222 and log in with your credentials.

  2. Click on "File Manager"

  3. Locate the public folder
    Go to domains/yourdomain.com/public_html
    (That is the folder where your website files should go)

  4. Click "Upload Files"
    Upload your site files directly or a .zip archive.

  5. If you uploaded a .zip, extract it
    Right-click the file and choose "Extract".

  6. Verify that the files are inside public_html
    Your main file should be named index.html or index.php.


🧭 For cPanel users

  1. Log into cPanel
    👉 https://yourdomain.com:2083

  2. Go to "File Manager"

  3. Open the public_html folder

  4. Click "Upload" and upload your files.

  5. If using a .zip, extract it inside public_html.

  6. Make sure the main file is named index.html or index.php.


🖥️ Option 2: Upload your site using an FTP client (like FileZilla)

1. Open FileZilla or your preferred FTP client.

2. Use these credentials to connect (found in your panel or activation email):

  • Server (Host): ftp.yourdomain.com or the server IP

  • Username: your FTP username or panel username

  • Password: the same as your panel password, or the one you configured

  • Port: 21

3. Connect and navigate to the /public_html folder.

4. Upload all your site files to that folder.


🧪 How do I know if I did it correctly?

After uploading everything, open your browser and visit:
👉 https://yourdomain.com
If you see your site loading, you've done it! 🎉


🧠 Practical tips

  • If your site does not display, check that the main file is named index.html or index.php.

  • Delete the default index.html test file that some hosting services include by default.

  • If you are uploading WordPress, make sure to also import the database and configure the wp-config.php file.