The first lesson of getting started with WordPress briefly introduced what WordPress is. It is an open-source and free website building program developed using the PHP language and MySQL database. A web hosting that can run PHP language and a MySQL database must build a WordPress site.
Some users may ask, what is a web hosting, MySQL database, and what are they used for? Let's talk about it briefly in the following.
First, what is web hosting, and what is it for?
A web hosting is responsible for the two most basic functions: storing the website's files and providing the environment for the website to run. The web hosting mentioned here is a server connected to the public network, basically operating 24 hours a day. The server's hard disk can store website files; installing a system and environment in the server can run the website.
Common web hosting on the market include Windows hosting and Linux hosting :
Windows hosting is a Windows system with a server version installed on the server, such as Windows2003. This kind of host generally uses its IIS to configure the environment in which the website runs. Windows hosting, often referred to as an all-around host, supports website building programs written in multiple languages such as ASP and PHP. Of course, the MySQL database environment is generally installed.
Note: Internet Information Services (IIS, Internet Information Services) is a basic Internet service based on running Microsoft Windows provided by Microsoft.
The Linux hosting is the host on which the Linux core system is installed. This hosting generally installs three components of Apache, MySQL, and PHP independently to build the website's environment. Linux hosting does not support languages such as ASP and usually only supports programs in PHP language.
Should I choose Windows hosting or Linux hosting?
The most significant difference between Windows hosting and Linux hosting is the previous section's supported language environment. The former supports more languages, while the latter usually only helps the PHP language. Many new users to building a website may choose Windows as the "all-around host" without hesitation. Nevertheless, based on our past experience, we will recommend using a Linux host to build WordPress.
The practice has proved that the Linux host's PHP environment is more conducive to efficiently running PHP programs such as WordPress. It can also support pseudo-static, and support other functions required by WordPress more perfect, and run more smoothly.
If you use Windows hosting, you will find that running WordPress feels slow and usually does not correctly support pseudo-static. Sometimes, it is impossible to use some plug-ins, although some Problems can barely be achieved by modifying the configuration. Still, for a beginner, it is almost impossible to toss!
Therefore, to use WordPress well, choosing Linux hosting is the right way!!
Since Windows hosting need to purchase Microsoft copyrights, the cost is relatively high. Hence, we recommend using the PHP program to build a website and try not to use the ASP language.
What is a MySQL database, and what is it for?
The MySQL database is usually used to store the data information of the PHP program. For example, some configuration information and article data of WordPress are stored in the MySQL database. Usually, we need to use PHPMyAdmin to operate the MySQL database. As a result, the general host is installed with the phpMyadmin program.
How much storage and database do I need to build WordPress?
There are three choices for web hosting: virtual hosting->VPS->server. For individual users or personal bloggers, it is recommended to buy virtual hosting first. Since your website's traffic will not be very high at the initial stage (within one year), a virtual host of 200M is enough for a personal blog to use for more than one year.
When buying Linux hosting, there is usually another parameter, which is the monthly traffic. If there are not many blog posts with pictures, and the daily traffic is within 300 IP, generally 6-10GB of traffic per month is enough. The MySQL database of the Linux hosting is usually used together with web hosting. The size of the MySQL database is already included in the virtual host and does not need to be purchased separately. Usually, within one year, the size of a blog's MySQL database will not reach 10M. Therefore, in the initial stage of building a blog, you can buy a Linux hosting with 200M and monthly traffic of 6-10G.