Install WordPress in 5 minutes

How to install WordPress step by step in 5 minutes

In this tutorial I am going to show you how to install WordPress in a way that will help you in any situation : a hosting server, a corporate server or a local installation on a PC or Mac.

icouponinfo instalar wordpress

Within these variants of installation, I’m going to focus especially on the installation of WordPress in a hosting.

In addition, we will perform the installation with the cPanel tool . Virtually all good hostings use cPanel and that logically also includes the most popular hostings such as 1and1, Hostgator, NamecheapHostmetroBluehost, Or Netfirms .

The installation in a hosting is the scenario is the most frequent scenario of readers who come to this blog and surely, in general. In addition, as you will see later, the installation of WordPress in the other scenarios works basically the same as doing it in a hosting.

Before starting the installation itself, it is important to be clear about what options to create a WordPress site exist, what their differences are and which one is best for you .

If you have these differences clear, skip this section and go directly to the next (How to install WordPress in a hosting) where I start with the concrete steps of the installation, but many people express doubts in this. So here’s a little preliminary guidance.

Install WordPress – Options and their differences

The process of installing WordPress on a hosting server is quite simple.

The steps to install WordPress are basically these:

  1. Check that your domain is operational.
  2. Download the WordPress application from WordPress.org.
  3. Access cPanel of your hosting account or your own server (on your PC or your company).
  4. Upload the WordPress files to the server.
  5. Create and configure the database for WordPress.
  6. Start the automatic WordPress installer.

However, there are different scenarios for the creation of a WordPress site that should be clear before you start and that they qualify something this initial scheme.

In WordPress.com there is no installation

Let’s start with the simplest scenario, the creation of a blog with WordPress.com .

Although this is obvious, there are many users who are confused with this and what they ask us, for example, what hosting to hire for a WordPress.com blog

They are not clear that, although the product used is the same, a blog on wordpress.com is something completely different from a blog with wordpress.org and own hosting.

In wordpress.com everything is already installed, it is a service in the cloud , the installation has already been done in wordpress.com, you simply register a user account (similar to how it is done in Gmail, for example).

This simplifies your life initially, but the counterpart is that a WordPress blog created like this, in both its free and paid options, is quite limited in its possibilities.

planes wordpress.com

The WordPress plans. There is a very limited first free plan and the rest are payment options.

Instead, with wordpress.org (which is the version we use here in this post), as you will see later, you have to download the WordPress application and install it yourself on a server.

It’s a bit more than starting work, but the reward for this little extra effort with respect to wordpress.com is that you really agree to the full potential of WordPress , which is huge, and you’ll have 100% control over your website.

Hosting server or local server What is better?

Before I commented that you can install WordPress on a hosting server, a corporate server or a local one.

The difference of the hosting with these last two cases is that you already save a lot of work : in a hosting, the software environment you need for a website is already installed and ready to use (the web server, the database, etc.).

In addition, a good hosting provider will provide additional services such as corporate email ,security measures (anti-hacking measures, backup copies, etc.) and your server’s Internet connection .

In the case of installing WordPress (or mount any other type of web) on your own server, all this base you have to install it yourself. It is not trivial and there are many hours of work, plus the work of the future maintenance of this basic software and security configuration.

Thanks to software packages such as Xampp, this task has been simplified a lot, but even so, the numbers do not usually come out; that is, in front of a web mounted on a corporate server, the hosting usually comes out much cheaper and, needless to say, much less laborious.

Another thing would be to mount a small installation of WordPress with Xampp on a PC or Mac to move or do small developments and be able to test them without risk before passing them to your real site with hosting. In that case, a local installation with Xampp can be very interesting. Then we will see more about this.

Installation with wizards versus manually

A final important decision point among the options you can choose between is the type of tool to use when you perform an installation on a hosting server.

Here you have two options :

  1. Perform the installation with the wizard of your hosting, different and specific to the hosting used.

  2. Perform the installation “manually”, that is, in the original way of WordPress, “the famous installation of 5 minutes” , as they call them and that is always the same, install WordPress where you install it.

Virtually all hostings have installation wizards for a wide range of applications, including WordPress. The idea is to simplify the process to the user by hiding some details and making some decisions for it and that is what they recommend to their clients.

You can use it if you prefer, but I highly recommend you use the installation without an assistant . I do it for the following reasons:

  1. In time it will take, at most, 1-2 minutes more than with an assistant.

  2. You really see what installing WordPress means: the installation of the files, the creation of a database for the contents, the creation of a user for that database. They are a few very simple concepts that you must know. They will facilitate the day after day with WordPress.

  3. You have 100% control of all the details. Attendees sometimes make poor decisions such as presupposing a certain email for the administrator, which then does not exist.

There are more reasons to use option 2, but I do not want to entertain too much and the exposed ones already seem to me of sufficient weight so as not to go by the way of the assistants.

The installation that I will follow in this tutorial is the original WordPress, both for the reasons discussed and for you to follow the tutorial have the hosting you have. Even if it were a hosting without cPanel (which I do not recommend), you can do the same with the equivalent tools of your hosting.

How to install WordPress in a hosting

But let’s stop preludes and let’s get down to work ?

Remember that we are talking about installing WordPress.org, therefore, you need a hosting. If you already have it, great, if not, you need to hire it first. Bellow is our recommend hosting company, if need you can choose one of them.

Having a contracted hosting, you are ready to start the installation.

To do this, depending on your preference, you can follow the installation process step by step below, in the text with captures of images for each step.

If Bluehost is your Hosting provider then you can follow bellow link for Install WordPress:

How to setup WordPress on Bluehost within 3 minutes?

1. Review your domain

In order for your WordPress site to be visible in public, you logically need an Internet domain under which to publish that website.

When a hosting is hired, there is always a main domain associated with that hosting. That domain may have contracted with your hosting or with another provider.

In case you have it in the same hosting, you do not have to worry about anything, but if you have it with a different provider, you need to configure the domain to point to the hosting with which you want to use it (if you do not know how to do it) , the support of your domain provider should indicate it to you).

Make sure you have the domain ready and running. If you’re not sure, do not worry; a few steps later we will check it.

2. Download WordPress from WordPress.org

The next step is to download the application of www.wordpress.org. As you can see in the screenshot below, it is a zipped file.

The application consists of a simple package of files with PHP code that we will then place in the appropriate folder of our hosting server.

front cover of wordpress.org

The WordPress plans. The cover of the www.wordpress.org website

3. To Access a cPanel

What we have to do now is upload the compressed file to our hosting server.

Access to your hosting server is done through cPanel. In order to access your cPanel, your provider must have sent you an email with the access data, that is:

  • The access URL to cPanel
  • Your admin user
  • And your password

If you do not have this information, get in touch with the support of your hosting so they can provide it again.

An important tip is to keep the access URL to your cPanel as a bookmark in your browser; so you will always have it at hand.

Also keep the user and password very carefully . If this data falls into the hands of another person, you will have full access to your website and your emails (if you use the email address of your hosting). One of the main causes of hacked websites is laxity with security measures as simple as this one.

cpanel login interface

The access screen to cPanel.

Once you have entered your username and password, a screen should appear very similar to one of the following two:

new cpanel main console

Appearance of the main screen of cPanel with the template “Paper Lantern”.

Since cPanel supports theme (design templates), the appearance of the interface can vary considerably, as you can see if you compare the screenshot above this paragraph with the next one, which comes a little lower.

a small orange cpanel

This cPanel design template is also used very frequently.

However, both screens contain exactly the same functional elements. The differences are all design.

Look at the icon on the top left, the File Manager . This is where we are going to enter now to upload the files of the WordPress application to the server.

4. Upload the WordPress files to the server

If you click on the file manager icon on the screens above, you will go to the following screen:

cpanel administrator files

The file manager of cPanel.

This is the view of the file system of your hosting server , similar to what you see, for example, with the Windows File Explorer on the hard drive of your computer.

As it is a shared hosting, what we are seeing, in reality, is not the entire disk of the server, but the “piece” that has been assigned to our account. If you look closely, you can see in the left panel (above), what is hanging under the ” home / icoupon ” directory.

Of all the folders that are seen here, we are really only interested in one: public_html . Look closely at her. It is possible that in some hosting, this is also called “www” , but the normal is public_html. You can even find the two folders where one is a shortcut (one alias) to the other.

This folder is very important because it is the one associated with your main domain .

That is, the files that are here and in successive sub folders are those that are going to be seen under your domain.

This is the default operation and the most used by far. You can also sophisticated, if you like, creating a folder in public_html for each domain , which would allow us to host several websites with different domains . But these are already issues that require a special configuration a little more advanced and that are completely out of the scope of this tutorial. For that reason, we obviate it, but it is good that you know that the possibility exists.

Understood the basic philosophy of the file system of your server, let’s upload the WordPress application. To do this, click on the “Upload” menu that you can see above in the capture, and then on the “Select file” button that you see in the following screenshot to take the WordPress file from your computer.

Upload wordpress zip file with cpanel

cPanel allows you to upload files from your local computer to your hosting server. No complications are necessary, such as installing FTP clients, etc. which are seen in many tutorials.

When you have selected it, you will see a blue progress bar that shows you the status of the upload, as you can see in the image above this paragraph.

Once the upload is complete, click on the “Return to … / public_html” button below.

This will take you back to the contents of public_html where you will see the .zip that you just uploaded:

cpanel administrator files wordpress zip

The contents of public_html after uploading the WordPress .zip.

Since the compressed file is not worth it, we must unzip it to install the WordPress files.

Luckily, cPanel can also do this: select the .zip and click on the “Extract” option, as you can see in the screenshot above.

The result can be seen in the following screenshot:

administrator unpacked wordpress cpanel files

The decompressed files are placed by default in the “wordpress” folder.

Note that when unzipping, the “wordpress” folder has been created since the .zip contained it as well. In it are all other files. However, that is not the right place to install WordPress. The correct place is directly in public_html, that is, we have to move the files from “wordpress” to “public_html”.

Since we are going to move to this location the contents of “wordpress”, it is not advisable that there are other files here, since we would be mixing webs. In normal mode, with a single domain, without folders differentiated by domain, public_html will be exclusively for the WordPress website.

In particular, it is important that there is no type file “index.html” or “index.php” in public_html. That would give us problems.

Therefore, if you already had things that you want to keep, you should move them from here. In the example I created the folder “tmp” precisely because of this; so we put all the “old” things here and have them located.

After this, “public_html” has stayed like this:

administrator files cpanel wordpress cleaned

The content of public_html after relocating the old files.

Now the only thing left is to move the files that are inside “wordpress” to public_html.

This is also very easy in cPanel: we enter “wordpress” and with the “Select all” menu we select the complete list of files, as shown in the image below.

Then we can move all these files by dragging them, keeping the left mouse button pressed, to the folder public_html that is seen in the left sidebar.

administrator cpanel wordpress files selected

Now you have to move the WordPress files within public_html.

Once the files are moved, we will see this within public_html:

administrator files cpanel wordpress moved

We already have the WordPress files where they have to be.

With this we already have the WordPress code files where they have to be and we already have the “wordpress” folder, since when moving the files it is empty. Therefore, we can erase it (make sure it is really empty before doing it).

We keep the “tmp” folder, but beware : what is in tmp will be visible on the Internet at the URL:

http://yourmaindomain.com/tmp/…

Therefore, ask yourself if, for safety, you really want it to be that way or if it will not be better to take the contents of tmp to another site, to your personal computer, for example.

5. Create and configure the database

We have finished with the part of the files and now it touches the part of the database.

The main reason for needing to create a database is that WordPress stores the contents in a database, it does not store them as HTML files, which makes WordPress much more powerful. To do this we return to the main cPanel screen.

mysql cpanel search

cPanel MySQL module.

Now, we look in cPanel for the MySQL module. Among the icons that appear, select the “MySQL Databases” icon .

This starts the cPanel database management module:

The database manager of cPanel.

The database manager of cPanel.

And here I want to also make a very important comment : have an application such as Windows Notepad or similar, to sign three data that you will later need a little later in the installation:

  1. The name of the database.
  2. The user for the database.
  3. And the password of that user.

As we create these data, write them down because if you forget them later, you will not be able to continue with the installation.

In my case, as you can see in the image above, the name I will use for the database is icoupon_demo .

We click on the button “Create database” and, if everything went well, the confirmation message will show.

Now let’s create a new user for the database. To do this, you will have to scroll down until you reach the section that can be seen in the following screenshot.

As you can see in that same capture, the user that I will create myself is called icoupon_demo .

And on the same screen, also enter the password you want. But for security, use a password that is not trivial to guess and provide in that sense a minimum of security.

mysql cpanel create user

Creation a user of the database and its password.

After doing these actions, as before, a confirmation screen appears that everything has gone well.

To finish this part, only one step is missing: give the user access permissions based on the data we have just created.

This section is on the same screen as before, even a little lower.

To perform this action, we select the database and the user, and link them with the “Add” button:

mysql cpanel add user database

Linking the user to the database.

By doing this, cPanel will ask us what permissions (privileges) we want to grant to the user in question on the database.

As the permissions that WordPress needs to work are quite broad, here we are not going to eat a lot of our head and we are going to simply grant all the permissions that there are by clicking on the “All privileges” mark, which will select all the other permissions.

mysql cpanel privileges user database

Assignment of permissions (privileges) to the user.

As before you will get a confirmation message and with this we have also finished the configuration part of the database ?

6. Start the automatic installation of WordPress

In principle, we no longer need to work on cPanel anymore. Now we work from the web, that is, we access our domain, the main domain associated with the blog.

If you have not made any mistakes in the previous steps, you should see this screen:

Initial screen of the WordPress installer

Initial screen of the WordPress installer.

Here we are going to simply click on the “Let’s go!” Button, which will take us to a first form in which we will have to recover the data that we wrote before to fill it with them.

With this data we are “connecting” the WordPress application to our database:

Form to connect WordPress to the database.

Form to connect WordPress to the database.

We click on the “Submit” button and this screen appears telling us that everything is now ready to install the application. Click on “Run the installation” :

install wordpress form confirmation

Start of the automatic installation.

Also in the part of the automated installation of WordPress a series of data is requested.

In this case, it is about the data for the blog itself, not for the database.

Specifically:

  • The administrator user of your WordPress site (not to confuse with the previous database user, they are different things). This is the “boss” user of your website and you can do everything in it.

  • The password for that user. Here security is especially important, since with your username and password you can access your blog from the Internet. Therefore, use a very good password; otherwise, you will be exposed to hackers. For that reason, WordPress offers you one by default. You can use your own, but WordPress will warn you if you consider it too weak and ask you to confirm that you really want to use a “weak” password, an unsafe password.

  • The administrator’s email . WordPress will communicate on different occasions with you sending you emails, therefore, you need an email address to send these emails to.

Configuration of information for WordPress

Configuration of information for WordPress

And once you click the end of this screen, WordPress will start the automatic installation, which will take a few seconds.

When the installation process is finished, you will see the following screen from which you can access theWordPress desktop that will be your place of work with WordPress for the creation of content and WordPress administration:

End of installation message.

End of installation message.

By clicking on the “Log In” button, WordPress will display the desktop Log In screen. I recommend you take the opportunity to add it to the bookmarks of your web browser, because you will use it constantly:

Log In screen to the WordPress desktop.

Log In screen to the WordPress desktop.

In any case, you can also always use this access URL:

http://yourmaindomain.com/wp-admin

Here you have to enter the WordPress admin user and the password that you just created. Be careful, the user and password of WordPress, not the user and password of the database:

The WordPress desktop.

The WordPress desktop.

And the web that the rest of users will see under your domain will be this one (it may change if you do not use exactly the same version of WordPress as this tutorial):

Default public homepage of our new WordPress site.

Default public homepage of our new WordPress site.

And with this we have definitely finished the installation of WordPress 🙂

Conclusions

Creating a blog or website in WordPress with your own hosting is not as trivial as opening an account in cloud services like Blogger, WordPress.com, Wix and similar. But, as I think you have been able to see in this post, it is not a titanic task either, it is something that with a good guide you can do in a matter of minutes.

In exchange for this small investment in effort and time, you will access a light-years potential of cloud solutions without mentioning that, in addition, you will have 100% control over your website and you will not be captive of the cloud service in question , in which you have created your website.

And finally, remember that in a WordPress site with hosting, it is logically critical to choose the hosting, which will be the basis on which everything else will work.

A good hosting is not expensive nowadays, but you have to choose your provider well. The providers that I can recommend you for my good experiences, and in this order, are Webempresa , Raiola and SiteGround.

2018-05-10T14:02:10+00:00