I am running Ubuntu 12.04 LTS
server.
On that server I have installed iRedAdmin
as my mail server. So far so good. Now I want to add my company's website to this server, but i can't get it to work.
I have pointed DNS records to my server vpl.si and added vhost
file to
sites-avaliable
. After that, I did a2ensite vpl.si
and sudo service apache2 reload
.
Also, permission for www folder is set to chomd -R 777 /www
.
My vhost file for vpl.si
looks like this:
<VirtualHost vpl.si:80>
ServerAdmin [email protected]
ServerName vpl.si
ServerAlias www.vpl.si
DocumentRoot /var/www/
<Directory /var/www/ >
Options None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
But I still get page not found. I have no idead what I am doing wrong? Thanks!
EDIT: I forgot to add Allow 80 to UFW Firewall. It is working now.