Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

local virtual host config for testing setup problem

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  Apache error  
Author Message
pdconetwofour_

External


Since: Jul 02, 2003
Posts: 22



(Msg. 1) Posted: Wed Jul 02, 2003 9:21 pm
Post subject: local virtual host config for testing setup problem
Archived from groups: alt>apache>configuration (more info?)

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?

 >> Stay informed about: local virtual host config for testing setup problem 
Back to top
Login to vote
slinberg

External


Since: Jul 03, 2003
Posts: 1



(Msg. 2) Posted: Fri Jul 04, 2003 1:38 am
Post subject: Re: local virtual host config for testing setup problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <NoFMa.1360$L14.9108515@news-text.cableinet.net>,
p cooper <pdconetwofour_numbers_.TakeThisOut@yahoo.co.uk> wrote:

 > <a style='text-decoration: underline;' href="http://testing.home" target="_blank">http://testing.home</a> says
 > "testing.home could not be found."
 >
 > anyone tell me what Im doing wrong?

Can you ping testing.home? If not, it's probably a DNS issue. Do an
nslookup on your client system and see what it tells you.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: local virtual host config for testing setup problem 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
local virtual hosts - i've read many posts about this subject, but none have been exactly what i'm looking for. I have Apache 2.0.46 running Redhat 9. This PC along with 3 others are on a Dl-614+ router. I want to use the redhat machine as a development server for several....

adding document include path to working shtml config - adding document include path to working shtml config in Apache 1.3.x I have server side includes working but would like to set a path for include statements to look in --other than current directory--. i.e. If the #include file doesn't insist in....

Virtual Hosts? - I'm wanting to use one IP address to host multiple domains, ie web hosting. I assume that "virtual hosts" are the thin I need to focus on here and is this basically a similar concept to Host Headers in IIS 5.0? I'm running Windows 2000 with Apa...

virtual directories - What I'd like to do is have: {my site url} | | Folder A Folder B Where "Folder A" is "C:/Folder A", but Folder B is in C:/docs+settings/.../Folder B. Do I have to muck around in virtual hosts? How would the...

Virtual Hosts :: logs - Hey all- I have apache 2.0.46 running the following virtual hosts, plus a few more: <VirtualHost *> ServerName www.awhc.org DocumentRoot "/home/awhc/www/" </VirtualHost> <VirtualHost *> ServerName awhc.org Doc...
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]