- Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot C:/xampp/htdocs/
ServerName localhost
ServerAdmin admin@localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot C:/xampp/htdocs/domain1
ServerName domain1.com
ServerAlias www.pixelperdollar.com *.domain1.com
ServerAdmin admin@domain1.com
</VirtualHost>
and my Windows hosts file contains:
- Code: Select all
127.0.0.1 localhost
127.0.0.1 127.0.0.1 localhost
127.0.0.1 domain1.com
127.0.0.1 domain1.com
127.0.0.1 domain1.com
and everything works great... from my web hosting computer ONLY. When I try to access the site from any other computer, it doesn't work and just get the page not found error. Windows firewall has been disabled and even when I stop my other firewall it still is not accessible from the web, but still fully accessible via my own computer. To restate this:
I can view my websites from my host computer but not from any other computers online. It is as if my server is not online at all or is being blocked by outside computers...? Help?