Understanding Virtual Hosts requirement

Hi,

Because you're using the Apache plugin of certbot, it will trying to find a vHost that contains the hostname you entered..

For now, I'm guessing you are trying to obtain a certificate first, then setup vHosts?

If you don't want to do this.. you can use this command

sudo certbot certonly (only obtain the certificate, not installing or modify vHost files)

Then when you are done setup Apache vHosts, just specify the certificates instead of let certbot install that for you.

Thank you