Enable acess without WWW on Ubuntu
Posted
by TiuTalk
on Server Fault
See other posts from Server Fault
or by TiuTalk
Published on 2010-04-12T17:17:16Z
Indexed on
2010/04/12
17:23 UTC
Read the original article
Hit count: 331
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... :(
© Server Fault or respective owner