apache2 vhost only working after server restart

chriszero
Posts: 1
Joined: Thu Apr 12, 2012 10:45 am

apache2 vhost only working after server restart

Postby chriszero » Mon Dec 24, 2012 2:36 am

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: apache2 vhost only working after server restart

Postby bigfoot65 » Mon Dec 24, 2012 10:59 am

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
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 16 guests