Setting up your virtual host
We are going to point the virtual host to
Create a file
/etc/apache2/sites-available/aura.localhost with the below contents.
Depending upon your apache configuration you may need to add
path/to/project is where you installed the
NOTE: Apache 2.4 users might have to add
Require all granted below
AllowOverride all in order to prevent a 401 response caused by the changes in access control.
Enable the site using
and reload the apache
Before we go and check in browser add one more line in the
The following configuration assumes that you’re using PHP as FPM SAPI.
The configuration file is under
It could be that you are using old nginx version where
fastcgi.conf isn’t available at
In this case you need to create
/etc/nginx/fastcgi.conf with the following content:
http://aura.localhost in your favourite browser.
When using configuration above you should set
php.ini in order to avoid numerous unnecessary system
Also note that if you plan running an HTTPS server, you have to add
fastcgi_param HTTPS on; for its host.