Hi all,

recently we got a feedback related to How To Install Webmin on Ubuntu 18.04

It seems people where getting the following error when they tried to secure their websites with Let’s Encrypt

sudo a2ensite example.net
ERROR: Site example.net does not exist!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

The above was an issue reported by @mifu7913.

It seems like you didn’t create an Apache Vhost file or the name of the configuration file is different.

  • To create a vhost after apache has been installed I’ll recommend checking the following article

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04#step-4-%E2%80%94-setting-up-virtual-hosts-(recommended)

It’s already added to the intial tutorial but in case you missed it, please do check it out.

  • Chaning the name of the configuration file
mv /etc/apache2/sites-available/your_domain.conf /etc/apache2/sites-available/NewName.conf

Please be sure to change the your_domain.conf and NewName.conf with the real values.

Regards,
KDSys

by Mark Drake
A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This stack typically consists of the Linux operating system, the Apache web server, a MySQL database, and PHP, a dynamic content processor. This tutorial serves as a guide for installing these components on an Ubuntu 18.04 server.
Submit an Answer