Skip to content
cheaphostindia.com

How to install WordPress manually on cPanel hosting

By CheapHostIndia Team

A step-by-step guide to installing WordPress yourself in cPanel: database, upload, installer, and the first settings to change.

You've bought hosting, the welcome email with your cPanel login has arrived, and now you want WordPress on your domain. You can do the whole install yourself from cPanel in about 15 minutes, and doing it by hand once means you understand where everything lives: the files, the database and the settings file that joins them.

This guide walks through a manual install, step by step. If you're still choosing a plan, read WordPress hosting in India: what you need before you install first, then come back here.

What you need before you start

  • Your cPanel login from the welcome email
  • A domain already pointing to your hosting (if it isn't yet, you can still upload files, but you can't run the installer at your domain until DNS has switched)
  • A notepad or password manager to save the database details you're about to create
  • About 15 minutes

Step 1: Create a MySQL database and user

WordPress keeps your posts, pages, settings and users in a database. The files you upload are only the program; the database holds your content.

Create the database

  • Log in to cPanel and open MySQL Databases (in the Databases section).
  • Under Create New Database, type a short name such as wp and click Create Database.
  • cPanel adds your account name in front, so the real name looks like youruser_wp. Write down the full name exactly.

Create the user

  • On the same page, scroll to MySQL Users and Add New User.
  • Pick a username (it also gets your account prefix, like youruser_wpuser).
  • Click Password Generator for a long random password, copy it somewhere safe, and create the user.

Give the user access

  • Scroll to Add User To Database, choose your new user and your new database, and click Add.
  • On the privileges screen, tick ALL PRIVILEGES and click Make Changes.

You now have three details: database name, database user and password. Keep them handy for Step 4.

Step 2: Download WordPress

Go to wordpress.org and download the latest version. You'll get a zip file of around 25–30 MB. Always get it from wordpress.org itself, not from a "free download" site, which can bundle unwanted code.

There's no need to unzip it on your computer. Uploading one zip is much faster than uploading thousands of small files.

Step 3: Upload and extract in File Manager

  • In cPanel, open File Manager and go into the public_html folder. This is the folder your main domain shows to visitors.
  • If there's a default index.html or a "coming soon" page in there, delete it so it doesn't load instead of WordPress.
  • Click Upload, choose the WordPress zip, and wait for it to reach 100%.
  • Back in public_html, right-click the zip and choose Extract.

Move the files out of the wordpress folder

The zip extracts into a folder called wordpress. If you leave it there, your site would live at yourdomain.com/wordpress instead of yourdomain.com.

  • Open the wordpress folder and click Select All.
  • Click Move and change the destination path to /public_html.
  • Go back to public_html. You should see folders like wp-admin, wp-content and wp-includes, plus files such as wp-login.php.
  • Delete the now-empty wordpress folder and the zip file.

Step 4: Run the installer

Open your domain in a browser. WordPress will notice it has no settings yet and start its installer.

  • Choose your language and click Let's go.
  • Enter the database name, username and password from Step 1, exactly as written, including the account prefix.
  • Leave Database Host as localhost.
  • Keep the Table Prefix as it is (wp_). Changing it doesn't add real security and can confuse some plugins and guides later.
  • Click Submit, then Run the installation.

WordPress now writes these details into a file called wp-config.php for you.

Step 5: Set your site title and admin account

  • Site Title: your business or site name. You can change it later.
  • Username: avoid "admin". Pick something less guessable, since it's half of your login.
  • Password: use the strong one WordPress suggests, or one from your password manager. Save it.
  • Email: use an address you check, because password resets go there.
  • Click Install WordPress, then log in at yourdomain.com/wp-admin.

After the install: four things to do first

Set your permalinks

Go to Settings → Permalinks and choose Post name. Your links will read like yourdomain.com/contact instead of yourdomain.com/?p=12, which is clearer for people and for Google. Do this before you publish anything, so links don't change later.

Delete unused themes and plugins

New installs come with sample plugins and a few default themes. Keep the one theme you'll use plus one default theme as a backup, and delete the rest under Appearance → Themes and Plugins. Less unused code means fewer things to update and fewer ways in.

Run updates

Open Dashboard → Updates and update WordPress, themes and plugins. Check this page every week or two from now on.

Turn on HTTPS with the free SSL

Every CheapHostIndia plan includes free SSL. Once the certificate is active for your domain, go to Settings → General and change both addresses from http:// to https://, then log in again. Our guide to free SSL and HTTPS on cPanel hosting covers checking the certificate and redirecting all visitors to HTTPS.

Troubleshooting

"Error establishing a database connection"

WordPress can't log in to the database. Almost always it's a typo or a missing step:

  • Check the database name and username include the account prefix (youruser_).
  • Check you added the user to the database with ALL PRIVILEGES in Step 1.
  • If you're unsure of the password, change the user's password in MySQL Databases, then edit DB_PASSWORD in wp-config.php with File Manager to match.

A blank white page

This usually comes from a plugin or theme, or a file that didn't upload fully.

  • In File Manager, rename wp-content/plugins to plugins-off and reload. If the site comes back, rename it back and turn plugins on one at a time to find the culprit.
  • If it happens on a fresh install, delete the WordPress files and upload and extract the zip again.

Files in the wrong folder

  • Your site opens at /wordpress: the files are still inside the wordpress folder. Move them into public_html as in Step 3.
  • You still see an old page or a directory listing: a leftover index.html is loading first, or the files are one folder too deep. public_html should directly contain wp-admin, wp-content and wp-includes.

Pick a plan, then pay

Starter (₹49/month) is enough for one WordPress site, Growth (₹69/month) covers up to five, and Pro (₹99/month) has unlimited sites. Yearly billing is 10× monthly. Every plan includes cPanel, free SSL, unmetered bandwidth and automated weekly JetBackup backups. Your account is created automatically after payment and your login details are emailed to you. See the WordPress hosting page for details, or compare plans on /pricing.

Ready to start?

Pay on a plan opens the client area.

View pricing