Site does not exist error for a2ensite

I have cmsplus.dev under /etc/apache2/sites-available with the following code, <VirtualHost *:80> ServerAdmin [email protected] ServerName www.cmsplus.dev ServerAlias cmsplus.dev DocumentRoot /var/www/cmsplus.dev/public LogLevel warn ErrorLog /var/www/cmsplus.dev/log/error.log CustomLog /var/www/cmsplus.dev/log/access.log combined </VirtualHost> Now when I use sudo /usr/sbin/a2ensite cmsplus.dev, I am getting the error, ERROR: Site cmsplus.dev does not exist! My webserver Apache/2.4.6 (Ubuntu) How to solve this issue? 10 … Read more

Apache2: ‘AH01630: client denied by server configuration’

I get this error when trying to access localhost via a browser. AH01630: client denied by server configuration I checked my site folder permissions using: sudo chmod 777 -R * Here is my configuration file: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /home/user-name/www/myproject <Directory /> Options FollowSymLinks AllowOverride all Allow from all </Directory> <Location /> Allow from … Read more