Apache Server configuration support - Using virtual hosts

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > August 2005 > Using virtual hosts





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Using virtual hosts
tloomiscom

2005-08-24, 9:38 am

I am new at doing this so I apologize.

I have an emac running OS 10.3.6 and Apache 1.3.33. I have two dynamic dns hosts from no-ip.org.

The hosts are tloomiscom.myvnc.com and masterbatterscom.no-ip.org

I am trying to use name based virtual hosting so that they will point to my computers dynamic ip address.

I have tried to edit the httpd.conf file and I just cant seem to get it to work.

Any advice would be appreciated. This is what I have added to the httpd.conf

NameVirtualHost *

<VirtualHost *>
ServerName tloomiscom.myvnc.com
DocumentRoot /library/web server/documents
</VirtualHost>

<VirtualHost *>
ServerName masterbatterscom.no-ip.org
DocumentRoot /users/thomasloomis/sites/master-batters.com/web-content
</VirtualHost>

tloomiscom.myvnc.com will show up but I get an error for masterbatterscom.no-ip.org. The error reads

Forbidden
You don't have permission to access / on this server.

Can anyone please help me. Is this even possible?
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com