Ive got a dynddns address which works fine frmo the outside world. I want to
set up another virtual host for testing purposes accessible only from my
machine.
from vhosts.conf
################# Named VirtualHosts
NameVirtualHost *
<VirtualHost *>
ServerName myname.dyndns.org
ServerPath /home/httpd/
DocumentRoot /home/httpd/htdocs
</VirtualHost>
<VirtualHost *>
ServerName testing.home
ServerPath /home/paul/
DocumentRoot /home/paul/public_html/
Options -ExecCGI +indexes
</VirtualHost>
equivalent entries in commonhttpd.conf
<Directory /home/httpd/htdocs>
Options -Indexes
AllowOverride All
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
<Directory /home/paul/public_html>
Options +Indexes
#<IfModule mod_dir.c>
#DirectoryIndex index.php index.php3 index.shtml index.cgi index.pl
#</IfModule>
Order Allow,Deny
Allow from 192.168.0.1
</Directory>
entry in client /etc/hosts (or c:window/hosts.sam)
192.168.0.10 testing.home
(ip address of server)
http://testing.home says
"testing.home could not be found."
anyone tell me what Im doing wrong?