I know I am using apache2, but I'm not sure if it's 2.2 or whatever. How can I can find out?
I am trying to follow the instructions from this site:
But it does not work, apache will not even load.
My /etc/apache2/conf.d/virtual.conf looks like this:
# We're running multiple virtual hosts.
I have a file called /etc/apache2/sites-available/default
I did not create that file, but as long as I only have that file enabled, apache works. Although I get is that default "it works" message.
I am not sure if I should use "site.com" for the site name, and "www.sitename.com" for the site alias, or the other way around.
My domain files look like this:
# example.com (/etc/apache2/sites-available/example.com)
# Indexes + Directory Root.
CustomLog /var/www/example.com/logs/access.log combined
My /var/www/example.com/index.html files do exist. And example.com is pingable.
Any glaring errors?