Short answer: Put your website's files in the public_html folder of your hosting, using cPanel's File Manager (upload a zip and extract it) or an SFTP app. If the site uses a database, create one in cPanel and import it with phpMyAdmin, then update the site's settings. Finally, make sure your domain points to the hosting and SSL is active.
Whether a developer built your site, you exported it from another host or you made a simple HTML page yourself, getting it online follows the same few steps. Here's how to do it without losing anything.
Step 1: get the files ready
- For a plain HTML site: the folder with
index.html, images, CSS and scripts. - For WordPress or another PHP app: all the site files plus a database export (a
.sqlfile). - Zip the folder on your computer. One zip uploads much faster than thousands of small files.
Step 2: upload with cPanel File Manager (easiest)
- Log in to cPanel and open File Manager.
- Open the public_html folder. This is the root of your main domain.
- Click Upload and choose your zip file.
- Back in File Manager, right-click the zip and choose Extract.
- Make sure
index.htmlorindex.phpsits directly insidepublic_html, not in a subfolder. Move files up a level if needed. - Delete the zip file.
For an addon domain or subdomain, upload into that domain's own folder instead (cPanel shows it under Domains).
Step 2 (alternative): upload with SFTP
For large sites or regular updates, an SFTP app such as FileZilla is handier:
- Get your SFTP or FTP details from cPanel (FTP Accounts) or use your cPanel login with SFTP if your host allows it.
- Connect to your server on port 22 (SFTP) or 21 (FTP with TLS).
- Drag your files into
public_html.
Always prefer SFTP to plain FTP, which sends passwords unencrypted. See FTP vs SFTP.
Step 3: upload the database (for WordPress and apps)
- In cPanel, create a database and a user, and add the user to the database. See what is a database.
- Open phpMyAdmin, select the new database and use Import to upload your
.sqlfile. - Edit the site's configuration file (
wp-config.phpfor WordPress) with the new database name, user and password. - If the domain has changed, update the site address. For WordPress, use a careful search-and-replace tool.
Moving a complete WordPress site? Our WordPress migration guide covers every step, or AuroxHost's team can do it for free.
Step 4: connect the domain and check SSL
- Make sure your domain points to your hosting. See how to connect a domain to hosting.
- Wait for the free SSL certificate to be issued, then check it with our SSL checker.
- Open your site in a private browser window and test the main pages, links, forms and images.
Common problems
| What you see | Likely cause | Fix |
|---|---|---|
| A list of files, or the host's default page | Files are in a subfolder, or there's no index file | Move index.html or index.php into public_html |
| 403 Forbidden | Wrong permissions | Folders 755, files 644. See file permissions |
| Error establishing a database connection | Wrong details in the config file | Check name, user, password and host |
| Images or styles missing | Links point to the old address or wrong case | Fix paths; file names are case-sensitive on Linux |
| 404 on inner pages (WordPress) | Missing .htaccess or permalinks | Re-save Settings → Permalinks |
More help in HTTP status codes.
Frequently asked questions
Where do I upload my website files?
Into public_html for your main domain, or the folder cPanel assigns to an addon domain or subdomain.
Can I upload a website from my phone?
Small changes, yes, with cPanel File Manager in a mobile browser. For full sites, a computer is easier.
Do I need FTP?
No. cPanel's File Manager handles most uploads. SFTP is helpful for large sites and frequent updates.
Can I build the site directly on the hosting instead?
Yes. Install WordPress with one click and build it there. See how to install WordPress.



