Enable acess without WWW on Ubuntu
- by TiuTalk
Hi there... I want to enable the acess to my site without the "www." prefix... I tryed to insert this in my /etc/apache2/sites-available file:
<VirtualHost *:80>
serverName mydomain.gov.br
serverAlias www.mydomain.gov.br
ServerAdmin [email protected]
DocumentRoot /var/www/mydomain/
... (lot's of other configs)
</VirtualHost>
But this isn't working... :(