ServerAlias www.domain.com
or if you don't want to use localhost at all anymore you can replace
ServerName localhost with ServerName www.domain.com
Kenneth
i did all that :
LoadModule wsgi_module modules/mod_wsgi.so
Listen 8080
servername : localhost:8080
NameVirtualHost *:8080
<VirtualHost *:8080>
DocumentRoot "C:/web2py/applications"
ServerName localhost
<Directory "C:/web2py">
Order allow,deny
Deny from all
</Directory>
<Location "/">
Order deny,allow
Allow from all
</Location>
<LocationMatch "^(/[\w_]*/static/.*)">
Order Allow,Deny
Allow from all
</LocationMatch>
WSGIScriptAlias / "C:/web2py/wsgihandler.py"
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access.log common
</VirtualHost>
what i want now is to have a domain that access localhost:8080 that
has web2py