

Next, create a sample index.html page to host on this subdomain. Sudo chown -R www-data:www-data /var/www/webhost Let’s start with a directory for our domain as follows: sudo mkdir /var/www/webhost We will set up a virtual host with a sub-domain called, but you should replace this with your own domain name. A virtual host encapsulate the configuration of a domain to it.

With the help of virtual hosts, you can host more than one domain from a single server. It means the Apache web server is running properly on your system. You will see the default Apache landing page. However, the best way to test web server, request a page from Apache in web browser. The result status like “Active: active (running)” means Apache service have started successfully. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Sun 05:28:08 UTC 10min agoĪpr 26 05:28:08 tecadmin systemd: Starting The Apache HTTP Server.Īpr 26 05:28:08 tecadmin systemd: Started The Apache HTTP Server. You can find the Apache service status by running the following command: sudo systemctl status apache2

Once the installation finished, Apache service will automatically start on your Ubuntu system.
#Install apache tomcat ubuntu 17.10 install
sudo apt updateĪfter the confirmation, apt will install Apache and other required dependencies on your system. You can easily install it using the conventional package management tool.įirst of all, update the local package index to reflect the latest upstream changes. For this tutorial, we use, which is pointed to our server.Īpache packages are available under the default software repositories on Ubunts.
#Install apache tomcat ubuntu 17.10 how to
You will also learn how to secure your domain using Let’s encrypt SSL certificate. This tutorial will help you to install Apache web server on Ubuntu 20.04 LTS (Focal Fossa) operating system.
