My apache server is running on 127.0.0.1 but not on localHost.
NameVirtualHost 192.168.0.15
listen 80
listen 8080
Please help
NameVirtualHost 192.168.0.15
listen 80
listen 8080
Code:
<virtualHost localhost:80>
phpMyadmin site
</Virtualhost>
<virtualHost localhost:8080>
my website
</Virtualhost>
The problem is if i type localhost in internet explorer, i get an error,
BUT if i type 127.0.0.1, it works. My hosts file does have a mapping
127.0.0.1 localhost
Also, i cannot browse to another site on the local area network from my PC by typing in the ip of the computer hosting the site (of course the site works, i can access it from a third PC) .
Also, i cannot use IP base virtrual hosting
<virtualhost 192.168.0.15>
</virtualhost>
Comment