Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.04 KB

File metadata and controls

32 lines (20 loc) · 1.04 KB

VHost-Centos

Bash script to automate the apache virtual host setup and enabling HTTPS for domain using Let’s Encrypt and CertBot in centos

This bash script is totally automated the below two tutorials.

how-to-install-the-apache-web-server-on-centos-7

how-to-secure-apache-with-let-s-encrypt-on-centos-7

Installation

wget https://raw.githubusercontent.com/aghilanbaskar/vhost-centos/main/virtual-host.sh

Usage

Run the bash script

./virtual-host.sh

It will asking for domain name. Enter your domain name. That's it.

Please make sure you have pointed out your A record in DNS to the VM you are going to run this script.

Contributing

Pull requests are welcome.

License

MIT