You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by stakys <st...@punktas.lt> on 2003/05/17 09:09:00 UTC

[users@httpd] Virtual hosts

I want to create virtual host for "outtie", and test it in local network. I
set theese options in httpd.conf

NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
     DocumentRoot /usr/local/outtie
     ServerName 127.0.0.1/outtie
     ErrorLog /var/log/localhost.error.log
     CustomLog /var/log/localhost.custom.log common
</VirtualHost>

But when i try to access the page http://127.0.0.1/outtie, i got The Page
Cannot Be Displayed. Where's the problem, how to solve this?



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Virtual hosts

Posted by Joe Apache <ap...@productivitymedia.com>.
Why bother with creating virtual hosts on a local network. You must 
have 'outtie' configured as a hostname on the local network and with 
your internal DNS servers, etc.  Why not just use 'outtie' as separate 
file? Just create a file in your htdocs with the name outtie and then 
try it again.

J


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org