Skip to content
Português

Files, databases and backups

  1. In cPanel, open File Manager.
  2. Open your website’s folder. The main domain usually uses public_html. For other domains, check the folder in Domains.
  3. Back up your website before replacing files.
  4. Upload your files. The home page is usually called index.html or index.php.

Don’t put backups, passwords or copies of your database in this folder, because people may be able to access them online. If you use FTP, choose a secure connection and only give the account access to the folder it needs.

  1. In cPanel, open MySQL Databases.
  2. Create a database and a user with a strong password.
  3. Add the user to the database and only give it the permissions your application needs.
  4. In your application, enter the full database name and username. cPanel may add a prefix to them.

Use phpMyAdmin to view or import data. Export a copy of the database before you import, edit or delete anything.

A website may have both files and a database. Save both:

  1. In cPanel, open Backup and download the available copies.
  2. You can also download your website files and export the database in phpMyAdmin.
  3. Keep everything outside your hosting account and check that the files open.

Each tool includes different parts of your account, so check whether your emails and settings are included. Restoring a backup may replace current data. If you are unsure, ask support first.