Install WordPress Locally – Install WordPress cPanel

Install WordPress on Server and Locally

In today’s segment, we are going to talk about how to install WordPress locally on your system without the dependency of a server and on the server itself.

A lot of people use WordPress as their tool for developing their website/blog and installing WordPress is one of the basic steps that they need to start off with using WordPress.

Building a WordPress website/blog locally on your machine is an excellent way of starting to work with WordPress. The main reason for saying excellent is because you do not require to spend any amount what-so-ever at the beginning stages of your WordPress website/blog. Once you are ready with your website/blog, you may then push it on to a server which will be then displayed to the entire world.

We will first begin with installing WordPress on the server.

How to Install WordPress using cPanel

The first step you would need to do is log in to your hosting panel where you purchased your website/blog from. Navigate to the cPanel (the directions to going to the cPanel are unique to their own hosting service providers), we are going to show you the steps to log in to cPanel for some of the most commonly and knows service providers as below, however, there is more to it.

How to Access cPanel in BlueHost
https://my.bluehost.com/hosting/help/cpanel-access
 
How to Access cPanel in SiteGround
https://www.siteground.com/kb/how_to_access_cpanel/
 
How to Access cPanel in LiquidWeb
https://www.liquidweb.com/kb/how-to-log-in-to-cpanel/
 
How to Access cPanel in GoDaddy
https://in.godaddy.com/help/open-my-linux-hosting-account-8884

After you have logged into the cPanel, look of an Application Installer, there are different Application Installers in the market and we are not going to go into detail for all those since it is a personal choice. We have used Softaculous Apps Installer, more info could be found here: https://www.softaculous.com/

Softaculous WordPress is the most commonly used application installer and that is the most efficient installer for WordPress available in the market.

Once you have clicked on your Application Installer, you will find all the different Content Management System applications being displayed so you basically have the option to choose what type of CMS you would like to use. Since we are using WordPress, we will click on WordPress and then click on Install Now.

WordPress Installation Steps –

  • On the first step, select the latest version you would like to install.
  • Select the Installation URL. 
    • IMPORTANT NOTE: You should never be selecting https:// unless you are sure that you have an SSL certificate installed on your website.
    • In the Domain, enter your domain name which you have selected earlier.
    • In the Directory, leave that blank since you would like visitors to reach directly to your website with the name and not by typing anything more apart from your website/blog unless you are pointing to something specific on your website/blog.
  • In the section below, you will have a Site Name, enter your desired name for your Site.
  • Enter a Site Description, you may leave it blank too.
  • As you move down, you will have to enter your Admin credentials and Admin Email address which you would like to use whenever you will be accessing your cPanel.
  • Once you have entered the above, select your desired Language.
  • In the section for Select Plugin(s), you will find a couple of options, there are chances that these differ as per your service provider, different service providers have different options available and you will have to click on the small “i” and read through as to what each option does.
  • We are not going under Advanced Options for now, since we will have a completely different article just for this section of Advanced Options.
  • In the last section on this page, select the desired Theme.
  • Click Install.

After the above steps have been completed, you will find a message on the next screen, that reads “Congratulations, the software was installed successfully“. It will also display your website/blog name and an Administrative URL with which you will manage your website/blog. Make sure you bookmark the Admin URL since that is the only URL you will be accessing to enter information on your website/blog.

With the above steps, you have successfully installed WordPress on your Server. We will now move on to installing WordPress on your local machine.

How to Install WordPress on Localhost

Installing WordPress on localhost is nothing but Installing WordPress manually.

As per our experience with all the web applications that we have tried to use to install WordPress on our local machine, the best and most easy web application we found was Local by Flywheel. The URL is: https://localbyflywheel.com

All you need to do is, browse to the above URL and click on Download, select your platform, we use Windows, so we will select Windows. It will prompt you to enter your details like your first and last name, email address and your phone number and click on Get It Now!.

After you have downloaded the application, you would then need to install it on your local machine. The installation is very easy as like installing any small software application on your local machine.

 After the installation is over, below is a snapshot of how localbyflywheel will look like. It would be all empty. You would need to click on Create a New Site. It will prompt you to enter the name of your website, for example, mkp (in our case). Click Next.

create a new website using localbyflywheel

It will prompt you to enter the Admin Credentials in the boxes provided. You will need to enter the admin credentials and click on Add Site.

This will then download and install all the necessary components to have the site ready on your local machine, if prompted on any window, please click on Yes.

And after a moment, you should see a screen as below.

localbyflywheel home page

On this window, if you click on View Site, it should load you the website on your local machine with a web address as mkp.local, your website is now ready to be viewed on your local machine.

On the same pane where you clicked on View Site, if you click on Admin, it will open the administration window on your browser where you need to enter the same credentials that you used while setting up localbyflywheel. Once logged in, you will have the same privileges and options that you have when your site is available on the server.

If you would like to have this local website shared with any of your friends or visitors, all you need to do is, click on the Enable button for the Live Link at the bottom of the localbyflywheel panel. When you click on Enable, the localbyflywheel is going to generate a temporary link for you to access your website on your browser which can also be shared so that others can click and view the same too.

Whenever you do not want to share the site with others, just click on the Disable button and the website would become offline.

We have also made a video demonstration for the above. Please do watch it for a step-by-step visual demonstration of how to Install WordPress on the Server and Locally.

0001 Install WordPress Locally – Install WordPress cPanel

If there is anything you would like to share or run into issues, do let us know below and we would be glad to answer you. 

About Hamza

Full-Time - DevOps Engineer & Part-Time - Blogger

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.