prolem on restarting apache after trying with invoice ninja

70 Views Asked by At

I got a problem on restaring apache2 after configuring all the thing regarding invoice ninja https://www.youtube.com/watch?v=zNO5q2gwCTA

1

There are 1 best solutions below

5
On

Since you have used Virtual Host, I think there lies the problem. By default you will have /etc/apache2/sites-available make sure the apache2 is pointing to the virtual host that you have created ininja.conf.

By default apache2 points to 000-default.conf. Since you want to point to new ininja.conf its not point.

So how to fix this is use the following commands to stop the service of 000-default.cof and start ininja.conf

sudo a2ensite ininja.conf

sudo a2dissite 000-default.conf

Make sure to restart your apache2

sudo service apache2 restart

Hope this helps.