WordPress has remained one of the best and easiest ways to get a sleek site up and running ever since its inception in 2003. As a matter of fact, current trends only show its popularity continuing to increase. WordPress is simple to use, and even hosting it yourself isn’t that hard, as we’ll prove to you in this article.
In this guide, we’ll show you how to get your site hosted with WordPress on Ubuntu 20.04 Focal Fossa. We’ll use Apache as our HTTP server, and also install PHP and MySQL since WordPress requires them in order to function. Once those packages are installed, we’ll go over the configuration of Apache and MySQL, including initial setup of a database and user, before installing WordPress itself. Towards the end, we’ll also show you how to configure optional SSL, in case you’d like your site to use HTTPS.
If you’re more familiar with or happen to prefer Nginx over Apache, we’ve written a separate guide for Ubuntu 20.04 WordPress installation on Nginx.
In this tutorial you will learn:
- How to install and configure Apache
- How to install and configure MariaDB for MySQL
- How to setup a MySQL user and database for WordPress
- How to download and install WordPress
- How to configure SSL for your WordPress site
Read more