Loading 0

My Blog

Scroll Down

Install free Let's Encrypt SSL on Ubuntu server 18.04 or shared hosting server

Install free Let's Encrypt SSL on Ubuntu server 18.04 or shared hosting server

Simply put, those of you who have an eshop or anyway an informational site, you have been asked (especially in the last 2 years) to change your site's access address protocol from http://tositesas.gr σε https://tositesas.gr

The difference between http and https is that the connection between the visitor's computer and the site hosting your site is encrypted.

This means that the visitor/customer feels more secure.

As you now understand, there must be https, because no one wants http and browsers chrome, firefox, etc. they issue a warning that kicks the visitor off your site in record time.

How to install it for free on your Ubuntu Server or shared hosting server

  • In the case of a shared hosting server (cpanel, plesk etc) there is probably already free SSL, so all you have to do is visit the site address with https:// in front to try it.
  • If not....... then connect your site's domain with the free service https://cloudflare.com and get ssl from there as well as absolute protection against hacking attacks (ddos etc)

Now let's go to the case where you have a virtual private hosting space (virtual private server or otherwise VPS):

First of all, how you can set up your own VPS on Google services, see here: https://nicolaslagios.com/οδηγίες-google-cloud-server-δωρεάν-για-1-χρόνο-ρυθμίσε/

So how do you add SSL for free:

sudo add-apt-repository ppa:certbot/certbot

(press enter to accept)

sudo apt install python-certbot-apache

systemctl reload apache2

If the command: sudo ufw status is inactive then proceed to the next step, if not then: sudo ufw allow 'Apache Full' and sudo ufw delete allow 'Apache'

sudo certbot --apache -d your_domain -d www.your_domain

(where it says your_domain change it to the site address)

This post is also available in: Ελληνικά

Leave a Reply

Your email address will not be published. Required fields are marked *


Here you can see all the services I provide

Registration and management of domain names (website address such as www.nicolaslagios.com)

Also management of dns records (e.g. connecting the domain to a specific server, fixing email spam problems, etc.)

Also ssl renewals etc

Installation and management of web & mail server in ubuntu vps with virtualmin, plesk, cpanel

Also studying and fixing server problems.

Necessary condition, the target server meets the conditions

At the moment for new wordpress websites you can choose from ready-made themes and we change the content (no custom changes). You can buy with a fixed price by clicking here!

My team and I undertake any data bridging implementation for Wordpress, Prestashop, Opencart, Joomla platforms.

We can connect data from any source, as long as the structure is stable and there is proper documentation and briefing.

We undertake the creation, regulation and enrichment of pages for social networks: Facebook, Linkedin, Instagram (profile), Twitter (profile), Tiktok (profile).

We also undertake the first boost of your pages for quick results in followers.

We undertake the repair and maintenance of your existing wordpress website.

For more information about the services, you can read the following and return here to schedule a meeting with me: https://maxservices.gr/en/internet-services/website-services-blank/additional-website-services/