When you saved this file. Make sure go to
/var/www and create directory with your domain name. And inside there, create
index.html file. You can do that via SSH:
- cd /var/www
- mkdir yourdomain.com
- cd yourdomain.com
- touch index.html
Afterwards successfully creating a directory and index file, go back to your
/etc/apache2/sites-available. And enable the certificate.
- cd /etc/apache2/sites-available
- sudo a2ensite yourdomain.com.conf
- systemctl reload apache2
BAM! Now your website is LIVE!
In conclusion, now you did add a website to your apache2 service, which is LIVE!
If you have any questions, make sure to leave a comment or
just contact us!