Vhost file locations

virtualhosts
v7

(Exospecie) #1

NethServer Version: 7 latest
Module: Virtual Hosts

Howdy folks,

I would like a little help with where to put the files for virtual hosts so that they are correctly served on the web. Inititally, I put them in /var/lib/nethserver/vhost/sitename but all I got was the NethServer landing page. I dropped a simple index.html in /var/www/html which worked but I have multiple virtual hosts with their own content.

I enabled FTP and logged in that way to see where it would take me and it takes me to the /var/lib/nethserver/vhost/sitename folder. So…I am guessing that is where NethServer wants the html and other files for a site.

Clearly, I must be missing something ridiculously obvious since I am supposed to be able to do this all from the WebUI, correct?


(Stéphane de Labrusse) #2

check log in /var/log/httpd/*errors, particularly if you have a .htaccess and use/install nethserver-virtualhosts