Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

vHost setup not working :-(

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  How to increase MaxClient to more than 256 in Apa..  
Author Message
user2922

External


Since: Aug 07, 2004
Posts: 1



(Msg. 1) Posted: Sun Aug 08, 2004 12:09 am
Post subject: vHost setup not working :-(
Archived from groups: alt>apache>configuration (more info?)

NameVirtualHost 192.168.1.100
<VirtualHost 192.168.1.100>
ServerName www.test.local
ServerPath /home/usrname/Documents
DocumentRoot /www.test.local
</VirtualHost>

This is what I wrote in /etc/httpd/conf/vhosts/Vhosts.conf

I also stoped and restarted Apache
apachectl stop
apachectl start
I get an ok on both time

I have an index for that site located
/home/usrname/Documents/www.test.local/index.html

I try to access the site
http://www.test.local

I get
An error occurred while loading http://test.local:
Unknown host test.local
if I use www. or not I get the error

Can you point me toward what I did wrong?

 >> Stay informed about: vHost setup not working :-( 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache Tomcat setup - GET not working - Hi, I am running servlets through port 8090 on a Tomcat server and all is working fine, our jsps display and function correctly, accessing the database on their way. Through port 8091 we are pointing at the same code but using apache (for..

DAV in vhost - Hello, I followed a dav guide and succeeded in a way that allows me to connect to a secured area. ssl.conf: <VirtualHost _default_:443> Alias /webdav/ "/home/webdav/" <Directory /home/webdav> DAV on AuthType Basic AuthNam...

VHOST or ...? - Hi, I'm a newbie on Apache, so I need help figuring out what to do when I have one webserver with one IP-address and I want to have two sites: "www.mydomain.com" and "site2.mydomain.com". The first site should respond when you type a...

VHOST - I have the domain nj2t.net allready up and running, I have just got nj2t.co.uk, can I just copy the virtual host entry for nj2t.net and paste it in as a new VHost entry and change the web parts from .net to .co.uk and keep using the same directories........

VHost Q again - Ok I had this working once... then I had to re-install apache and now it doesn't work... well it works, but it all goes to the main page's index file... what am I missing here Do I need to comment out the other listen and documentroot to make this work...
   Web Hosting and Web Master Forums (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 ]