Change document root virtualhost? raspbian



First of all i just installed the Certbot and everything is working perfect, what a wonderful tool!

But now to my problem, I would like to change the document root of my website, such as instead of /var/www/html/index
it should be /var/www/html/xxx/index

What files am I supposed to edit? When i tried earlier i didn’t get it to change, and the ssl broke…

Also how can i make a virtual host with multiple websites that is hosted with ssl on the same ip?

Kind regards Xaoi



What webserver are you using ? apache ? nginx ?

Note: You are asking general webserver config questions, not related to Let’s Encrypt, so you may find other forums faster for obtaining responses.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.