How to Install WordPress on cPanel?
WordPress is an open-source content management system (CMS) that allows you to host and build websites. WordPress contains plugin architecture and themes, so you can customize any website to fit your business, blog, or portfolio. WordPress is available to install manually or within seconds using the cPanel Softaculous Apps Installer for free.
Prerequisites:
Active Web Hosting with cPanel login details and domain name pointed to server. If you do not have purchased yet, you can order from our website.
Method 1:Using Softaculous Apps Installer.
To install WordPress using Softaculous, follow below steps:
Step 1: Go to your cPanel account. You can log in to your cPanel account using your Domain_name.com/cPanel. Now login into your cPanel account by using your username and password which your host provider provided.
Step 2: Navigate to the software section. Open Softaculous Apps Installer there you may find many CMS, click on the WordPress install button.
Step 3: When you click on install there you need to fill the form in the Software Setup.
- Choose the domain you want to install WordPress for.
- If you have taken an SSL certificate then use https://.
- If you want to create a WordPress folder directly in your domain name then leave the directory box blank.
- Choose the latest version of WordPress you want to install.
Step 4: In the Site Settings section, you’ll need to enter a Site Name and Site Description. You can use whatever you want to use and you can change it later.
Step 5: In the Admin Account Section you’ll need to enter an Admin Username, Admin Password, and Admin Email. you can use a password generator also if you want a strong password.
Step 6: Choose the language you want to install WordPress.
Step 7:(Optional) In the Advanced Options section, you need to provide the database name and Table Prefix. You can leave to default if you do not want to customize.
Step 8: (Optional) Select the theme you want for your website. You can later change using WordPress dashboard.
Step 9: Click on the install option as it will take some time to process.
Step 10: Congratulations! Your WordPress site is ready to use. Here you can find your website URL and Administrative URL.
Method 2: Manually
To install WordPress Manually, follow these steps:
Step 1: Download the most recent official version of WordPress from the https://wordpress.org/download/.You have to download the zip file and save it to your computer.
Step 2: Go to your cPanel account. You can log in to your cPanel account using your Domain_name.com/cPanel. Now login into your cPanel account by using your username and password which your host provider provided.
Step 3: Navigate to the Files section. Find the File Manager and open it. Go to the public_html then upload the zip file of WordPress.
Step 4: Now you have to extract the WordPress file and delete the zip file from that folder.
Step 5:Double click on the WordPress folder select all files and move the file into the public_html/ and you can delete the zip file as it is not necessary
Now, the WordPress files are uploaded successfully in cPanel. The next step is to configure the database. For that, follow these steps.
Creating a Database and Database User
Step 1:First you have to create a MySQL Database and Database user. For Creating a MySQL Database go to the MySQL Database section of Database.
Step 2:Open the MySQL and create a New Database.
Step 3: Add a New User to Database. Remember your Database name, Database user, and Password as You will need them later.
Step 4:Once the Database and Database User are created, you need to assign the User to the Database.
Step 5:The next step would be to assign database privileges. For the initial database user, select the All Privileges checkbox list Make Changes to assign privileges to the user.
To verify, that your Database is created go back and scroll down to view current databases. There should be a database and a privileged user assigned to the database.
Once you create a database now you will need to run the installation script.
Run WordPress Install Scripts
To finish the installation, run the install script by browsing your WP’s directory.
- If you uploaded the files to the root directory, browse to
the language you want to install WordPress.http://your_domain_name.com/wp-admin/install.php.Choose
- Before just starting we need to give the Database Name, Database Username and Password.
- After installation is done now you have to add the Site Title and username. Remember that this username is used to access the dashboard of your website.
- This is the final step to installing WordPress manually on cPanel. Click on the Install WordPress button, and you should be taken to the final screen, which says, “WordPress has been installed. Thank you, and enjoy!”.