Home / Development / How to Install WordPress on a Hosting
How to Install WordPress on a Hosting

How to Install WordPress on a Hosting

You have decided to create a website by purchasing a paid web space but you do not yet understand how to install WordPress on it? No problem, just very little to do that, here you will learn it.

All you need to do to equip your Web space with a WordPress site is to create a new MySQL database and face a quick initial setup procedure that now we’re going to see in detail. Come on, let’s begin!

If you want to learn how to install WordPress on the web space you’ve purchased, you must first connect to the WordPress website and download the CMS installation package to your computer by clicking on the orange button Download WordPress.

At this point, connect to your hosting control panel and start creating a new MySQL database by selecting the appropriate item. Will start a quick wizard in which you will need to enter the name for the database, and a combination of username and password to use to manage the latter. After that update the database name, the administrator username and MySQL address.

Now, open your WordPress file downloaded earlier and extract the content to any folder, and then rename the file wp-config-sample.php in wp-config.php and the latter open with a text editor. Now proceed by making these changes:

  • Replace the value database_name_here in the string define (‘DB_NAME’, ‘database_name_here’); with the database name of your hosting.
  • Replace the value username_here in the string define (‘DB_USER’, ‘username_here’); with the user name of the database.
  • Replace the value password_here in the string define (‘DB_PASSWORD’, ‘password_here’); the password you chose when creating the MySQL database.
  • Replace the value localhost in the string define (‘DB_HOST’, ‘localhost’); with the address of the MySQL database.

Locate the following strings and replace them with those on this page.

define ( ‘AUTH_KEY’, ‘put your unique phrase here’);

define ( ‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);

define ( ‘LOGGED_IN_KEY’, ‘put your unique phrase here’);

define ( ‘NONCE_KEY’, ‘put your unique phrase here’);

define ( ‘AUTH_SALT’, ‘put your unique phrase here’);

define ( ‘SECURE_AUTH_SALT’, ‘put your unique phrase here’);

define ( ‘LOGGED_IN_SALT’, ‘put your unique phrase here’);

define ( ‘NONCE_SALT’, ‘put your unique phrase here’);

Add a couple of characters after wp in the string $ table_prefix = ‘wp_’; so you get something like $ table_prefix = ‘wp12_’;

Save changes made ​​to the file by selecting Save from the menu File.

Send Your Files via FTP

To send your files to your server, you have to provide yourself with an FTP client. You may use FTP client software like FileZilla. When you start FileZilla, you will three fields to fill in to set the connection.

The Host Address

That is simply the address that will connect to your FTP client. It can be an IP address or domain name.

Login Credentials

Your identification of the server necessarily involves the use of a login / password. Insert in the appropriate fields.

The Port

The port is simply an interface that will connect your client. Each port can be dedicated protocol. The one we use is the FTP and the port that is traditionally associated with it, this is port 21.

Move to the Site Root

To send files to the right place, you have to put in the site root. But the root of the site, what is it? Let’s just say that it is the gateway to the Internet. In general, the site’s root is a www folder, or docs or virtual host / your-domain-name / it depends on the fact hosts. I refer you to the documentation provided by your provider.

Once you are placed in the root of your site in the right window, find your WordPress folder in the left window represents your computer. Put yourself in the WordPress folder, select all the folders and files, and pull them in the right window: Files are automatically delivered to your server. It may take some time, do not panic, everything depends on your connection speed.

Installing WordPress

Once your files are on the remote server, you can go directly to your site. It will, of course, have reserved a domain name. The screen that appears is the WordPress installation screen. Click It’s gone.

When creating your database, you had to go:

A base name

The name of your database user (login)

The address of the database (usually, this is localhost)

The tables prefix

And here it is precisely the time when you’ll be glad to have it all down somewhere…

Fill in the required fields, and then change the prefix of the tables, for security reasons. Then click “Send.” The software will test the connection to the database, and if all went well, you will arrive on the Welcome screen. You will be able to return here the title of your site, your username to log in to the administration interface of WordPress, password, and email address linked to your account (handy to retrieve your password if you have forgotten).

Do not forget to uncheck the little box “Allow search engines to index this site”, because the time to complete your site, it must remain free from crawl robots of search engines.

Finally, click Install WordPress. And that’s it; it’s not more complicated than that. To connect to the administration interface of WordPress is on website URL/wp-admin.

All is done here!!!


About Vinod Chaudhary

Leave a Reply

1 Comment on "How to Install WordPress on a Hosting"

Connect with:

Notify of
Sort by:   newest | oldest | most voted

Hello Amish, perfect article on how to install WordPress on a hosting. I have to say here that you have done a really good job by publishing the article above. This is really going to help a huge audience searching for such tutorials. More then 25% of world websites are build on WordPress and site speed is a serious matter for which a super fast and reliable.

Scroll To Top