Category Archives: ubuntu

see any error apache.htm in ubuntu

systemctl status apache2.service

Posted in ubuntu | Comments Off on see any error apache.htm in ubuntu

How to Install Apache Web Server on Ubuntu 18.04

First start by creating your document root directory for your domain example.com, where your site’s files will be stored. $ sudo mkdir -p /var/www/html/example.com/ 7. Then set the appropriate permissions on the directory as shown. $ sudo chmod -R 775 … Continue reading

Posted in ubuntu | Comments Off on How to Install Apache Web Server on Ubuntu 18.04

How to upgrade OpenSSL 1.1.0 to 1.1.1 in Ubuntu 18.04?

Open a terminal (Ctrl+Alt+t). Fetch the tarball: wget https://www.openssl.org/source/openssl-1.1.1a.tar.gz Unpack the tarball with tar -zxf openssl-1.1.1a.tar.gz && cd openssl-1.1.1a Issue the command ./config. Issue the command make (You may need to run sudo apt install make gcc before running this … Continue reading

Posted in ubuntu | Comments Off on How to upgrade OpenSSL 1.1.0 to 1.1.1 in Ubuntu 18.04?

Modifying the HTTP Host File to Redirect to HTTPS

As it stands now, the server will provide both unencrypted HTTP and encrypted HTTPS traffic. For better security, it is recommended in most cases to redirect HTTP to HTTPS automatically. If you do not want or need this functionality, you … Continue reading

Posted in ubuntu | Comments Off on Modifying the HTTP Host File to Redirect to HTTPS

Read More Changing to a Permanent Redirect

If your redirect worked correctly and you are sure you want to allow only encrypted traffic, you should modify the unencrypted Apache Virtual Host again to make the redirect permanent. Open your server block configuration file again: Find the Redirect … Continue reading

Posted in ubuntu | Comments Off on Read More Changing to a Permanent Redirect