i hit a snag pretty early one while following this guide:
https://library.linode.com/lamp-guides/ ... e-pangolinat this part:
Quote:
After you've set up your virtual hosts, issue the following commands:
a2ensite example.com
a2ensite example.org
when i do this i get ERROR: site squattheplanet.com does not exist! my input is like so:
a2ensite squattheplanet.com
i'm trying to learn how to do this in virtualbox before signing up with linode.
my virtual hosts looks like:
Code:
<VirtualHost *:80>
ServerAdmin webmaster@squattheplanet.com
ServerName squattheplanet.com
ServerAlias www.squattheplanet.com
DocumentRoot /srv/www/squattheplanet.com/public_html/
ErrorLog /srv/www/squattheplanet.com/logs/error.log
CustomLog /srv/www/squattheplanet.com/logs/access.log combined
</VirtualHost>
can anyone tell me what i'm doing wrong?