I have two domains registered which I use DNS control panel to point to my local machine whose ip is 192.168.1.20
When externally and localy access my address, which is working perfectly, I can only access one site apache.
I believe I am missing VirtuaHost configuration.
When I hit my Browser locally and externally putting my local addresses can I only access the cleaning site, some time ago I could access the two sites, I'm not sure what's wrong. Follow my local settings.
Wamp Server on windows Vista, Apache Version 2.2.9
Ip Address 192.168.1.20
subnet Mask 255.255.255.0
Default gateway 192.168.1.1 Router
Router forward http to Ip 192.168.1.20 (I can acess externally perfect)
C:\Windows\system32\drivers\etc\hosts file
127.0.0.1 localhost
127.0.0.1 computer.local
127.0.0.1 cleaning.local
Httpd config
Listen 127.0.0.1:80
NameVirtualHost 127.0.0.1:80
###### CLEANING ######
<VirtualHost 127.0.0.1:80>
ServerAdmin adm@mydomain1.com
DocumentRoot "c:/wamp/www/cleaning"
ServerName cleaning
ErrorLog "c:/wamp/www/cleaning/frclean.log"
<Directory "c:/wamp/www/cleaning">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
###### FALLRIVERCOMPUTER ######
<VirtualHost 127.0.0.1:80>
#ServerAdmin adm@mydomain2.com
DocumentRoot "c:/wamp/www/computer"
ServerName computer
ErrorLog "c:/wamp/www/computer/frcomp.log"
<Directory "c:/wamp/www/computer">
Options Indexes FollowSymLinks
AllowOverride None
Order Allow,deny
Allow from all
</Directory>
</VirtualHost>