{"id":1563,"date":"2026-01-01T21:29:29","date_gmt":"2026-01-01T21:29:29","guid":{"rendered":"https:\/\/b2bhostingclub.com\/blog\/?p=1563"},"modified":"2026-02-04T14:14:37","modified_gmt":"2026-02-04T14:14:37","slug":"how-to-install-the-apache-web-server-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/b2bhostingclub.com\/blog\/how-to-install-the-apache-web-server-on-ubuntu-20-04\/","title":{"rendered":"How to Install the Apache Web Server on Ubuntu 20.04"},"content":{"rendered":"<div class=\"d-title pt-10 pb-0\">\n<div class=\"container\">\n<div class=\"row row-cols-1 justify-content-left d-text-left d-title-inner\">\n<h2 id=\"what-is-web-server\" class=\"col col-md-10 d-h2 d-color-black core-title\">What is Web Server?<\/h2>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"d-paragraph-card\">\n<div class=\"container\">\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters pt-4 pb-1\">\n<div class=\"col\">\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">A web server is a software application or a computer system that serves web content over the internet. It handles requests from clients, such as web browsers, and delivers the requested web pages, files, or other resources to the client. When a user enters a URL (Uniform Resource Locator) into a web browser, the browser sends an HTTP (Hypertext Transfer Protocol) request to the web server associated with that URL. The web server processes the request and sends back an HTTP response containing the requested content, which is then rendered and displayed by the web browser.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">Commonly used web server software includes Apache HTTP Server (Apache), Nginx, Microsoft Internet Information Services (IIS), and LiteSpeed. Each web server has its own features, performance characteristics, and configuration options.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"d-title pt-10 pb-0\">\n<div class=\"container\">\n<div class=\"row row-cols-1 justify-content-left d-text-left d-title-inner\">\n<h2 id=\"what-is-apache-web-server\" class=\"col col-md-10 d-h2 d-color-black core-title\">What is Apache Web Server?<\/h2>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"d-paragraph-card\">\n<div class=\"container\">\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters pt-4 pb-1\">\n<div class=\"col\">\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">The Apache HTTP Server, commonly referred to as Apache, is one of the most popular and widely used web servers in the world. Apache is known for its stability, performance, and flexibility, and it runs on various operating systems, including Linux, Unix, Windows, and macOS. It supports multiple protocols, including HTTP, HTTPS, FTP, and more.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">In this guide, you\u2019ll learn how to install an Apache web server on your Ubuntu 20.04 server.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"d-title pt-10 pb-0\">\n<div class=\"container\">\n<div class=\"row row-cols-1 justify-content-left d-text-left d-title-inner\">\n<h2 id=\"step-by-step-guide-to-installing-apache-on-ubuntu-2004\" class=\"col col-md-10 d-h2 d-color-black core-title\">Step-by-Step Guide to Installing Apache on Ubuntu 20.04<\/h2>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"d-paragraph-card\">\n<div class=\"container\">\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters pt-4 pb-1\">\n<h3 class=\"col col-md-12 d-h3 d-color-black d-fs-20 d-fw-600 d-lineheight-24 core-title\">Step 1. Install Apache<\/h3>\n<div class=\"col\">\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">Open a terminal or SSH into your Ubuntu 20.04 server and using the following command the switch to the root user so you have the permission for later operations. Then, input password as prompted.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ sudo -i<\/pre>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<div class=\"d-text-start\"><img decoding=\"async\" class=\"d-img d-lazy-img\" src=\"https:\/\/images.cloudclusters.io\/53374b7e38274da595d82786c5667d94\/sudo-i.png\" alt=\"Switch to root user using sudo -i\" width=\"800\" \/><\/div>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">Next, update the package repositories to ensure you have the latest package information.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ apt update<\/pre>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<div class=\"d-text-start\"><img decoding=\"async\" class=\"d-img d-lazy-img\" src=\"https:\/\/images.cloudclusters.io\/fbdfe3e20de040759bcdf0c1147e4744\/apt-update.png\" alt=\"update the package repositories\" width=\"600\" \/><\/div>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">Once the package repositories are updated, you can install the Apache web server by running the following command:<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ apt install apache2<\/pre>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">And type y to confirm the installation.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<div class=\"d-text-start\"><img decoding=\"async\" class=\"d-img d-lazy-img\" src=\"https:\/\/images.cloudclusters.io\/fbde38f388834667844076cbfd37a732\/install-apache.png\" alt=\"Install Apache\" width=\"600\" \/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"d-paragraph-card\">\n<div class=\"container\">\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters pt-4 pb-1\">\n<h3 class=\"col col-md-12 d-h3 d-color-black d-fs-20 d-fw-600 d-lineheight-24 core-title\">Step 2. Adjust Firewall<\/h3>\n<div class=\"col\">\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">If you have a firewall enabled, such as UFW, you need to allow incoming HTTP (port 80) and HTTPS (port 443) traffic. Run the following commands to allow HTTP and HTTPS traffic:<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ ufw allow 'Apache'<\/pre>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">Then, make sure the service is active by running the command:<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ systemctl status apache2<\/pre>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<div class=\"d-text-start\"><img decoding=\"async\" class=\"d-img d-lazy-img\" src=\"https:\/\/images.cloudclusters.io\/411150de312b421aa20f68027d179d0c\/apache-status.png\" alt=\"Apache status\" width=\"600\" \/><\/div>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">From the above screenshot, we can see the Apache service is running. You can also verify that Apache is installed and running correctly by requesting a page from Apache. Open a web browser and enter your server&#8217;s IP address or domain name. If you do not know your server\u2019s IP address, try the command below. If Apache is working correctly, you should see the Apache Ubuntu Default Page.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ hostname -I<\/pre>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">If Apache is working correctly, you should see the Apache Ubuntu Default Page as below.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<div class=\"d-text-start\"><img decoding=\"async\" class=\"d-img d-lazy-img\" src=\"https:\/\/images.cloudclusters.io\/8bc46b93fff04af9b370796565a6c50f\/apache-landing-page.png\" alt=\"default Apache2 Ubuntu Default Page.\" width=\"600\" \/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"d-paragraph-card\">\n<div class=\"container\">\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters pt-4 pb-1\">\n<h3 class=\"col col-md-12 d-h3 d-color-black d-fs-20 d-fw-600 d-lineheight-24 core-title\">Step 3. Set Up Virtual Hosts (Recommended)<\/h3>\n<div class=\"col\">\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">A virtual host, also known as a virtual server, is a configuration in a web server that allows multiple websites or web applications to be hosted on a single physical server. Each virtual host has its own domain name or IP address and operates as if it is a separate server, even though it shares the underlying hardware resources with other virtual hosts. We will set up a domain called your_domain, but you should replace this with your own domain name.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">Apache on Ubuntu 20.04 has one virtual host enabled by default that is configured to serve documents from the \/var\/www\/html directory. We can create a new directory within \/var\/www for a your_domain site. Replace your_domain with the actual domain name of your site. In this case, we use mytestsite.com. Then, assign ownership of the directory to the user you\u2019re currently signed in and allow the owner to read, write, and execute the files while granting only read and execute permissions to groups and others<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ mkdir \/var\/www\/your_domain \r\n$ chown -R $USER:$USER \/var\/www\/your_domain\r\n$ chmod -R 755 \/var\/www\/your_domain<\/pre>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<div class=\"d-text-start\"><img decoding=\"async\" class=\"d-img d-lazy-img\" src=\"https:\/\/images.cloudclusters.io\/8cb34b9b1753412ba58a7646b4350c2b\/create-folder.png\" alt=\"Create a new directory\" width=\"600\" \/><\/div>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">Next, create a sample index.html page using your favorite editor. Here, we use nano editor.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ nano \/var\/www\/your_domain\/index.html<\/pre>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<div class=\"d-text-start\"><img decoding=\"async\" class=\"d-img d-lazy-img\" src=\"https:\/\/images.cloudclusters.io\/de63887082df4a78bf579464579fbf5a\/nano-index.png\" alt=\"Apache status\" width=\"600\" \/><\/div>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">Then create a sample HTML as below.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<div class=\"d-text-start\"><img decoding=\"async\" class=\"d-img d-lazy-img\" src=\"https:\/\/images.cloudclusters.io\/afc146d580674a2e9833876e8320de5d\/edit-text.png\" alt=\"Apache status\" width=\"600\" \/><\/div>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">Then, save the file by pressing CTRL + X, then Y and ENTER.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">Next, create a virtual host configuration file for your domain. Use the following command to create and open the file in a text editor:<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ nano \/etc\/apache2\/sites-available\/your_domain.conf<\/pre>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<div class=\"d-text-start\"><img decoding=\"async\" class=\"d-img d-lazy-img\" src=\"https:\/\/images.cloudclusters.io\/2f7ed032780e499f85392554b0445c3f\/nano-test-config.png\" alt=\"default Apache2 Ubuntu Default Page.\" width=\"600\" \/><\/div>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">In the configuration file, add the following content, replacing your_domain with your actual domain name. Then, save the file by pressing CTRL + X, then Y and ENTER.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<div class=\"d-text-start\"><img decoding=\"async\" class=\"d-img d-lazy-img\" src=\"https:\/\/images.cloudclusters.io\/d2ebc36709e9409cb589abacd2f41790\/test-site-conf.png\" alt=\"default Apache2 Ubuntu Default Page.\" width=\"600\" \/><\/div>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">Now enable the file with the a2ensite tool and disable the default site defined in 000-default.conf:<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ a2ensite your_domain.conf\r\n$ a2dissite 000-default.conf<\/pre>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<div class=\"d-text-start\"><img decoding=\"async\" class=\"d-img d-lazy-img\" src=\"https:\/\/images.cloudclusters.io\/8fcf45bdec2c4e33bb40b17aaa1f3ec9\/a2ensite.png\" alt=\"Enable new site\" width=\"600\" \/><\/div>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<div class=\"d-text-start\"><img decoding=\"async\" class=\"d-img d-lazy-img\" src=\"https:\/\/images.cloudclusters.io\/083cfd9d500b45ef81429bada76238a7\/disable-default-site.png\" alt=\"Disable the default site\" width=\"600\" \/><\/div>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">After that, we can test for configuration errors with the command below. And you should receive the &#8220;Syntax OK&#8221; output as the screenshot shows.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ apache2ctl configtest<\/pre>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<div class=\"d-text-start\"><img decoding=\"async\" class=\"d-img d-lazy-img\" src=\"https:\/\/images.cloudclusters.io\/f940ef6f7a19442b92b80bfa9e5a5202\/test-config.png\" alt=\"Enable new site\" width=\"600\" \/><\/div>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">Finally, restart Apache so that the changes take effect.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ systemctl restart apache2<\/pre>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<div class=\"d-text-start\"><img decoding=\"async\" class=\"d-img d-lazy-img\" src=\"https:\/\/images.cloudclusters.io\/63a575b2fb2f426392886db5b4e94a44\/restart-apache.png\" alt=\"Restart Apache\" width=\"600\" \/><\/div>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">When Apache is restarted, it should now be serving your domain name. You can test this by navigating to http:\/\/your_domain, and you should see the content you configured for your index page.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<div class=\"d-text-start\"><img decoding=\"async\" class=\"d-img d-lazy-img\" src=\"https:\/\/images.cloudclusters.io\/f500a1a5032949558b4b9237458b535b\/testsite-working.png\" alt=\"Verify successful virtual host setup\" width=\"600\" \/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"d-paragraph-card\">\n<div class=\"container\">\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters pt-4 pb-1\">\n<h3 class=\"col col-md-12 d-h3 d-color-black d-fs-20 d-fw-600 d-lineheight-24 core-title\">Manage Apache Process<\/h3>\n<div class=\"col\">\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">Here are some basic management commands that is commonly used.<\/p>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col col-md-12 d-color-black d-fs-normal d-fw-500 core-title\">Run the commands to stop, start, and restart your web server respectively.<\/div>\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ systemctl stop apache2\r\n$ systemctl start apache2\r\n$ systemctl restart apache2<\/pre>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col col-md-12 d-color-black d-fs-normal d-fw-500\">If you are simply making configuration changes, Apache can often reload without dropping connections with the reload command:<\/div>\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ systemctl restart apache2<\/pre>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col col-md-12 d-color-black d-fs-normal d-fw-500\">By default, Apache is configured to start automatically when the server starts. If this is not what you want, disable this behavior<\/div>\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ systemctl disable apache2<\/pre>\n<\/div>\n<\/div>\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col col-md-12 d-color-black d-fs-normal d-fw-500\">You can always enable the behavior using the command.<\/div>\n<div class=\"col\">\n<pre class=\"d-fs-normal d-lineheight-26 mb-0\">$ systemctl enable apache2<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"d-title pt-10 pb-0\">\n<div class=\"container\">\n<div class=\"row row-cols-1 justify-content-left d-text-left d-title-inner\">\n<h2 id=\"conclusion\" class=\"col col-md-10 d-h2 d-color-black core-title\">Conclusion<\/h2>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"d-paragraph-card\">\n<div class=\"container\">\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters pt-4 pb-1\">\n<div class=\"col\">\n<div class=\"row row-cols-1 justify-content-start d-text-start d-title-inner no-gutters\">\n<div class=\"col\">\n<p class=\"mb-0\">Setting up the Apache web server on Ubuntu 20.04 is a simple and effective way to start hosting websites and applications. By following a few clear steps, you can quickly get Apache running and begin serving content online. Once installed, Apache enables you to host multiple sites and share your services with the world.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>What is Web Server? A web server is a software application or a computer system that serves web content over the internet. It handles requests from clients, such as web browsers, and delivers the requested web pages, files, or other resources to the client. When a user enters a URL (Uniform Resource Locator) into a [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":1564,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1563","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-hosting"],"_links":{"self":[{"href":"https:\/\/b2bhostingclub.com\/blog\/wp-json\/wp\/v2\/posts\/1563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/b2bhostingclub.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/b2bhostingclub.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/b2bhostingclub.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/b2bhostingclub.com\/blog\/wp-json\/wp\/v2\/comments?post=1563"}],"version-history":[{"count":2,"href":"https:\/\/b2bhostingclub.com\/blog\/wp-json\/wp\/v2\/posts\/1563\/revisions"}],"predecessor-version":[{"id":1566,"href":"https:\/\/b2bhostingclub.com\/blog\/wp-json\/wp\/v2\/posts\/1563\/revisions\/1566"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/b2bhostingclub.com\/blog\/wp-json\/wp\/v2\/media\/1564"}],"wp:attachment":[{"href":"https:\/\/b2bhostingclub.com\/blog\/wp-json\/wp\/v2\/media?parent=1563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/b2bhostingclub.com\/blog\/wp-json\/wp\/v2\/categories?post=1563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/b2bhostingclub.com\/blog\/wp-json\/wp\/v2\/tags?post=1563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}