WordPress is an open source and completely free CMS. This means that you can obtain the source code of WordPress and install it on the server of the hosting company you rely on or the local server and modify it to suit the needs of your website directly.
The WordPress system is characterized by ease and great flexibility, from installing WordPress to complete customization, and it does not require advanced technical or programming experience in order to prepare all the different website options.
It is worth noting that the WordPress system can be used to prepare websites in various different specializations, for example, news or technical websites, educational platforms, electronic stores, and much more. Therefore, you will find the number of users of the WordPress system today exceeds 560 million websites, and this represents more than 43.2%. Of the total websites.
During today’s article, we will show you how to install WordPress on various popular hosts in detail, in addition to explaining how to prepare a trial version also on a local server, so continue reading with us.
How to install WordPress
As we mentioned in the introduction, WordPress is a content management system that is ready for direct installation on your website and is based on the Php programming language and MySQL databases.
Of course, you need to reserve a server from a hosting company in order to install WordPress on it, and you will find many different options before you, but most hosting companies provide you with the ability to install WordPress with just one click from the control panel.
Because of the large number of options available, we will show you a practical application of how to install WordPress on more than one different hosting company in a detailed and illustrated manner, and you will find the steps similar to other hosting companies.
We will begin the practical explanation with Digital Ocean hosting, which we always recommend as one of the best hosting companies that you can rely on for your website. After that, we will explain another practical application to Cloudways hosting, and we will also explain how to install WordPress on the local server as well, so continue reading with us.
1 Install WordPress on Digital Ocean hosting
Digital Ocean Hosting is one of the leading companies in the field of cloud hosting services and relies on a pay-for-consumption system, thus reducing the total server costs while providing a server with excellent features in terms of speed, stability, and degree of security.
The method of installing WordPress on Digital Ocean hosting is completely direct and does not require advanced programming experience. First, you enter the Digital Ocean website , and then click on Sign Up, as shown in the following image:
After that, you will find more than one option to register a new account, whether through your account in the GitHub community, through your Gmail account, or by email, and this is the best option. You will be asked to write the full name, then write the email address, then write the password, as shown. In the following picture:
After that, an activation message will be sent to your email, so you will click on the activation link in order to activate your account on Digital Ocean. You will then be asked to select some security questions in order to secure the account and rely on those questions when you want to retrieve the password, and after you finish choosing the security questions. Your Digital Ocean account is now ready and activated.
Now you need to create a virtual server on the hosting company’s server, which is known as Droplet. You enter the main Digital Ocean Hosting control panel, then choose Create from the top right, and from there choose Droplets, as shown in the following image:
After that, you will be asked to specify the characteristics of the Droplets virtual server. First, you select the data center (Region), and it is preferable to choose a data center close to the target audience in order to increase the speed of loading the website, as shown in the following image:
After that, you scroll down a little and you will be asked to select the server operating system. It is preferable to click on OS Marketplace and you will find that most of the common operating systems have appeared for you instead of the operating system properties. So you select the WordPress system and the ready-made settings that provide the best performance for WordPress will be relied upon. This is as shown in the following image:
After that, you go down to the CPU Options part and you will be asked to specify the server resources. You will find the server cost linked to the resources, and you will notice the server cost is calculated per hour of use. The cost of Digital Ocean hosting with the recommended settings starts from $7 per month, or a rate of $0.01 per hour of use, as shown. In the following picture:
After that, you go down a little and determine the method of protecting the server, whether with an SSH key or with a Password. You can rely on a password that will be sufficient, but it must be strong, as it consists of at least 8 characters that include a capital letter, a number, and a symbol, as shown in the following image:
After that, you go down completely and select the server name Hostname and determine if you want to purchase more than one separate server, and after completing all the previous settings, you click on Create Droplet, as shown in the following image:
After that, wait several minutes until the server is equipped with the required resources, and then click on Get Started to enter the WordPress control panel, as shown in the following image:
You now need to get the admin username and password for the WordPress panel, so you go back to Droplets and click on the three dots next to it, then choose Access Console, and then write the address of the Droplet in order to enter its server settings, preceded by ssh root@, for example, ssh root @165.232.36.52 Then you type the server password that you set up previously during the server installation phase.
After that, you will be asked to specify the email address for the WordPress admin account, then the username, and then the password, as shown in the following image:
In this way, WordPress has been installed on the Digital Ocean hosting server, and you can access the control panel and adjust all the settings you need from the template, plugins, etc.
You can also review the article on steps to install WordPress on Digital Ocean hosting to learn about all the previous steps in more detail, in addition to adjusting the advanced settings on the hosting, for example, installing an SSL certificate, linking the domain name, backup options, and so on.
2- Install WordPress on Cloudways hosting
The other solution for installing WordPress is to rely on cloud hosting as well, but it is fully managed. Here you will find a technical support team that helps you in all the steps of creating the website, in addition to adjusting the server settings to provide the best performance for your website if you do not have sufficient experience, while providing some additional services, for example. Example: backup, etc.
This certainly comes at an additional cost ranging from 50-80% of the cost of direct hosting. One of the best solutions is CloudwaysK hosting.
You can subscribe to it and install the WordPress system in simple steps. First, you enter the main website for Cloudways hosting and click on Pricing, and you will find in front of you a group of companies from which you can obtain hosting, for example the former Digital Ocean, Amazon hosting, and Google Cloud hosting.
All of these companies offer excellent hosting options in addition to paying for consumption only, so you choose the appropriate hosting and then click on Start Free for the appropriate plan, where you can try the hosting services for free for 3 days, as shown in the following image:
After that, you will be transferred to the registration page and you will be asked to write your main account details, including your username, password, email, security question, and discount code if you have a special offer. Then you will click on Start Free, as shown in the following image:
After that, technical support will review the data to ensure that it is not a fake account within 24 hours, and an activation message will be sent to your email in order to activate the account and start using the hosting services.
After activating the account, you log into the main hosting control panel and select the appropriate hosting resources for your website. First of all, you can directly select the operating system WordPress from the Application & Server Details option and specify the server name and website in order to automatically install WordPress on the website.
After that, you select the appropriate hosting services provider, for example, Digital Ocean, and determine the appropriate server resources. You will find complete flexibility in specifying the server resources, then you select the server data center, as shown in the following image:
After that, you click on Launch Now, and technical support will prepare the server, adjust all the settings on your behalf, and present the site to you ready for direct use, within a period of 10-15 minutes, as shown in the following image:
After completing the preparation of the server, you will now log in to the server, click on Application, and choose the online store that you prepared during the previous stage, as shown in the following image:
You will go to the Admin Panel section and you will find all the details of your website, including the subdomain name from Cloudway, the admin username, and the password, as shown in the following image:
In this way, the installation of WordPress on the Cloudways website has been completed and the login information for the main account has been obtained. The next steps are to link your domain name to the website, install the SSL certificate, and adjust the backup settings.
You can seek help from Cloudways technical support in these steps, or rely on the article : What is Cloudways hosting and how to install WordPress on it, which explains all of these steps in a detailed, illustrated manner.
3- Install WordPress on a local server
The third option for installing WordPress is to rely on a local server for the various learning and experimentation stages, as well as an experimental step for you before launching a main website.
Here you need to prepare a local server on your computer and install the WordPress system files on it. There are many options that you can rely on, for example, the XAMPP program, the MAMP program, or the WAMP program.
You can rely on the XAMPP server simulation program. You go to the apachefriends website and download the latest version of the program that is appropriate for the operating system on your computer, as shown in the following image:
After downloading the XAMPP program, you follow the traditional installation steps on your computer, after which you open the program and create the Apache server and MySQL databases by clicking on Start next to them and wait until they are finished preparing, as shown in the following image:
In this way, a local server has been prepared on your website. You now need to download the open source WordPress system files, and as we mentioned previously, you can get them for free by accessing the WordPress.org website , then clicking on Get WordPress from the top right of the top menu, scrolling down and clicking on Download WordPress The latest version of WordPress will be downloaded, as shown in the following image:
After downloading the WordPress files, you access the local server files on your computer through the following path: C://xampp. After that, you search for the htdocs file and now create a new file inside the htdocs file, for example, with the name Ahmed.com, and this will be the path to which Includes your website files.
Now you copy the WordPress files that you downloaded, unzip them, and transfer them to the Ahmed.com file, as shown in the following image:
In this way, WordPress has been installed on the local server, and you can access your local site by opening the web browser and writing the site link in the following format: Localhost/ahmed.com. You begin installing the database. You specify the database name, username, and password, then click Submit, as shown. In the following picture:
After that, you specify the site name, main username, password, and email, then click on installing WordPress, as shown in the following image:
In this way, the installation of WordPress on the local server has been completed and the databases and login data have been prepared on the control panel. You can review the article on creating a WordPress website on the local server (LocalHost) using the XAMPP program to learn about the advanced steps and all previous steps in more detail.
In the end, the WordPress system is the most used system for website owners due to the ease of dealing with the system with the direct control panel, as well as the large number of plugins and templates available for free and paid, which give you multiple options for your website, and this is what makes it compatible with all the different specializations of electronic stores and platforms. Educational, technical websites, etc.
Installing WordPress does not require advanced technical or programming experience, especially since most hosting companies offer the option of installing WordPress with just one click. We have provided you with an explanation of how to install WordPress on most of the different hosting companies, but we recommend starting to install WordPress on a local server initially until you gain sufficient experience and reach The final proposal for your website and start implementing it into the official version.
Leave a Reply