You are viewing a single comment's thread from:

RE: Servers 101: Setting up a Web Server part 4 - Virtual Hosts & vnstati Graphs

in #tutorial7 years ago

Good post, dimitrisp!

One small comment: you forgot to include the HTTPS vHost. Is certbot going to generate this automatically?

I configured my vHosts manually. I then setup certbot to check and renew my certificates and if needed restart the web server. So I never used it like you show here.

Sort:  

Oh, it is there! It is a very short part, so it is easy to miss:

Let's Encrypt, once again!

Now we will run certbot --apache again, to generate a certificate for our second domain. You can follow the instructions from the previous article. There is no reason to copy/paste them here, as it will get ridiculously long!

Anyway, if you set a certificate for a vhost once, if you have the auto-renew configured (as shown in the previous part), it will auto-renew it!