Uploading Content in cPanel
Version 1.1 -- Updated April 30, 2014 -- PDF document can be downloaded in this.
Accessing your cPanel Account
To access cPanel,
- Input your cPanel URL in your browser. The cPanel URL will be emailed by the GWHS Administrator, along with your cPanel login credentials.
- Enter your cPanel username into the Username field.
- Enter your cPanel password into the Password field.
- Click the Login button or press Enter.
- If this is your first time to access your account, you will be greeted by a cPanel Login Security page. Input the security questions and answers for your account.
IMPORTANT: Answers to your security questions are case-sensitive.
- Upon confirmation of your security questions, you will be directed to the cPanel Administration Page. For first time users of cPanel, it is recommended for you to complete the Getting Started Wizard.
- For a more comprehensive guide on administering websites through cPanel, refer to the cPanel User Guide -
Configuring your Database
To configure your database,
- Click on the MySQL Database Wizard icon to create a new database and a database user. This feature can be accessed at Home > Databases > MySQL Database Wizard. Please take note of the database, database user, and user password that will be created in the process.
- Create your database (prefixed with the account user name).
- Create your database user. As much as possible, please use the password generator to create strong passwords.
- Add user to the database. Select the All Privileges checkbox.
- Click on Return Home.
Importing your Database
To import your database,
- Click on the _phpMyAdmin icon. This can be found under the Databases tab.
- Click on your database.
- Go to the Import tab.
- Import your database dump file in .sql or in a compressed format (.zip, .gz, .tar.gz) and click on Go.
- The following message will show if you have successfully imported your database.
- If you have experienced errors upon importing your database, go to the MySQL Documentation Site at or email with screenshots and details of the generated error/s.
Uploading your Source Files
To upload your source files,
- Go to your File Manager. This feature can be accessed at Home > Files > File Manager. When you open File Manager, the File Manager Directory Selection window will appear.
- Select Web Root (public_html/www) and the Show Hidden Files check box, then click on Go. The File Manager interface will open in a new browser window.
- Click on the Upload icon.
- Select the compressed file of your website directory. cPanel supports the following compression formats:
- Zip (.zip)
- Tar (.tar)
- Gzipped Tar (.tar.gz, .tgz)
- BZip2ed Tar (.tar.bz2, .tbz, .tbz2)
- Wait until cPanel has completed uploading your compressed file.
- Click the link going back to your home directory.
- Extract your compressed file to your home directory (/public_html).
Make sure that your website files are placed on the public_html directory and are not enclosed in a subdirectory.
- For Joomla users, edit your configuration.php file by selecting >configuration.php and clicking on the Code Editor icon.
Update the following lines:
: public $user = 'yourdbusernamehere';
: public $password = 'yourdbpasswordhere';
: public $db = 'yourdbnamehere';
: public $dbprefix = 'yourtableprefix';
: public $log_path = '/home/<yourcpanelusername>/public_html/logs';
: public $tmp_path = '/home/<yourcpanelusername>/public_html/tmp';
- Click on Save Changes.
- For WordPress users, edit your wp-config.php file by selecting wp-config.php and clicking on the Code Editor icon.
- Update the following lines:
: define('DB_NAME', 'yourdbnamehere');
: define('DB_USER', 'yourdbuserhere');
: define('DB_PASSWORD', 'yourdbpasswordhere');
: $table_prefix = 'yourtableprefix';
- Click on Save Changes.
- Verify if your website is loading properly.
- If you have encountered any errors/issues/difficulties in uploading your websites, email [ ].