On 02.09.19 02:49, Gustavo Rios wrote:
Hi folks, i would like to confgiure my obsd server as a web server. I would like to configure my web server to handle multiple domains without having to set each domain one by one. I mean: Every request for www.x.com is mapped into the root directory /var/web/www.x.com Got the idea ? If a new server is required, All i needed to do would create a directory inside /var/web with the full access string : mkdir /var/web/www.newdomain.com And i should not need to manipulate config files
Hi, you may want to look at lighttpd. https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSimpleVhost should be what you need