As i tried to configure my virtual host on apache(xampp) in windows7
- x64.
I put something like this,
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/projects/mysite/public"
ServerName www.mysite.com
ErrorLog "logs/www.mysite.com-error.log"
CustomLog "logs/www.mysite.com-access.log" common
</VirtualHost>
And in my hosts file (C:\Windows\System32\drivers\etc\hosts
) i put something like this,
127.0.0.1 localhost
127.0.0.1 mysite.com
And i run it on the browser,
http://www.mysite.com
-
Server not found
Firefox can't find the server at www.mysite.com
.
Do i missed something to configure? Any ideas..