I'm following this thread and with most of your suggestions I have added a virtual host but when enter the ServerAlias to the browser it just doesn't works. I have added everything, I run the a2ensite successfully, also created all the folders to work with the site, plus the DocumentRoot to point to the folder in the /var/www directory, and I still get the error:
This is the file in the /etc/apache2/sites-available/redinblackcafe:
The server at redinblackcafe.local can't be found, because the DNS lookup failed.
Can anyone point out what I'm doing wrong?
Options Indexes FollowSymLinks MultiViews
allow from all
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Allow from all
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
CustomLog /var/www/redinblackcafe.local/log/access.log combined