Page 1 of 1

apache2 vhost only working after server restart

Posted: Mon Dec 24, 2012 2:36 am
by chriszero
Hi,

If I create a new vhost I have to resart the whole machine.
I've tried to do a "service apache2 reload" which doesn't work
I've restarted the dns, same thing.

So, what's the preferred way to do this.

Chris.

Re: apache2 vhost only working after server restart

Posted: Mon Dec 24, 2012 10:59 am
by bigfoot65
Its best to use the web app feature if installing new app manually.

http://wiki.amahi.org/index.php/Webapps

Any time you add another virtual host, you need to restart apache and not the HDA.

For Ubuntu do:
sudo service apache2 restart