{"id":38759,"date":"2021-09-27T12:30:00","date_gmt":"2021-09-27T17:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=38759"},"modified":"2022-10-03T09:19:11","modified_gmt":"2022-10-03T14:19:11","slug":"how-to-enable-https-protocol-with-apache-2-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-enable-https-protocol-with-apache-2-on-ubuntu-20-04\/","title":{"rendered":"How To Enable HTTPS Protocol with Apache 2 on Ubuntu 20.04"},"content":{"rendered":"
<\/div>\r\n
\"How<\/figure>\r\n\r\n\r\n\r\n

HTTPS is the secure version of Hypertext Transfer Protocol (HTTP). HTTPS uses the SSL\/TLS protocol for encryption and authentication, and for securing the communication between the browser and the web server. It encrypts HTTP requests and responses to prevent someone from sniffing the information that is shared between your browser and the web server. Without HTTPS, someone would be able to sniff and collect your website visitors’ sensitive information such as login credentials and credit card details.<\/p>\r\n\r\n\r\n\r\n

<\/p>\r\n\r\n\r\n\r\n

In this tutorial, we will show you how to enable HTTPS protocol with Apache2 on our managed Ubuntu VPS<\/a>. By default, if you install Apache on your Ubuntu 20.04 server, it will create an apache virtual host for your server\u2019s hostname, and it only listens on the non-secure port (HTTP\/80). This means, that if you navigate to your server\u2019s hostname using a web browser, you will see the default page of Apache2 Ubuntu, and if you access it through HTTPS, it will throw an error message as Apache2 is not listening on port 443 and no SSL certificate is configured.<\/p>\r\n\r\n\r\n\r\n

\n

Table of Contents<\/p>\n