I have a local LAN at my house that I have set up a testing server on ("\\testing\"). I installed XAMPP for Windows XP and it works fine. I have set up virtual hosts on the test server according to the following httpd-vhosts config file:
- Code: Select all
NameVirtualHost *:80 ##This was un-commented by me
...
<VirtualHost *:80>
ServerAdmin webmaster@domain.test
DocumentRoot C:/xampp/htdocs/public_html
ServerName domain.test
ServerAlias domain.test
<Directory "C:/xampp/htdocs/public_html">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
I also configured the "hosts" file in
- Code: Select all
C:\Windows\system32\drivers\etc\
- Code: Select all
127.0.0.1 localhost
192.168.1.6 domain.test
The testing machine can see the index.php file by typing in http://domain.test, a successful test.
However, and this is where I am having a problem, when I try to access the test site by typing in http://domain.test I get a Page Not Found error from my ISP (Comcast). However, if I type in the IP address of 192.168.1.6, I get to the index.php page fine.
Any suggestions on how I can get the development machine to recognize the http://domain.test? I have seen this work before, so I know it is possible.