473,413 Members | 1,733 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

Access Apache VirtualHosts from Same Box or from Lan?????

I'm trying to figure out how to access any VHosts
from samebox mode, or from pc connected to the same lan.
I've seen this done with Mac, but can't find how with win2k.
Can someone point me in the right direction?
Vhost ... name or ip mode?
If named-vhost, each ServerName must be resolvable by DNS or
entered into hosts file on each PC -that's poor man's DNS- There
is hosts and hosts.sam somwhere down the windows or winnt folder.
HansH

Hans,
I went into hosts file in win2k (all computers), and entered
the lan nic's ip address and domain vhost names and aliases,
I also put the virtualhost statements in apache's httpd.conf file.
Thanks, Just what I was looking for. Works just fine.

Virtual hosts "name-based", what is the correct way to do
this. In apache, I used a *:80 in the vhost statements, to
keep the ip wide open, but with win2k, how do I keep the
name-based vhost mode going? What to which files
hosts? lmhosts.sam?

Thanks,
Ringo
Jul 17 '05 #1
1 1822

"Ringo" <Ri***@ms.com> wrote in message
news:w9********************@eatel.net...
I'm trying to figure out how to access any VHosts
from samebox mode, or from pc connected to the same lan.
I've seen this done with Mac, but can't find how with win2k.
Can someone point me in the right direction?

Vhost ... name or ip mode?
If named-vhost, each ServerName must be resolvable by DNS or
entered into hosts file on each PC -that's poor man's DNS- There
is hosts and hosts.sam somwhere down the windows or winnt folder.
HansH

Hans,
I went into hosts file in win2k (all computers), and entered
the lan nic's ip address and domain vhost names and aliases,
I also put the virtualhost statements in apache's httpd.conf file.
Thanks, Just what I was looking for. Works just fine.

Virtual hosts "name-based", what is the correct way to do
this. In apache, I used a *:80 in the vhost statements, to
keep the ip wide open, but with win2k, how do I keep the
name-based vhost mode going? What to which files
hosts? lmhosts.sam?

Thanks,
Ringo


I found the answers, here:
http://www.onlamp.com/pub/a/apache/2...24/vhosts.html


Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: charlie | last post by:
I want to hide files ending with ".tpl" and ".conf" from client access (but I still want server access to them). How can I do it? With Apache httpd, I can use "Files" directive to match those...
0
by: Monica Ferrero | last post by:
Hi! I'm not sure if this is the most adequate mySQL list for this post. If not, please indicat me which one I should use... I'm using Tomcat 4.1.24 with Apache 2 and MySQL 4.0.13. I have the...
0
by: KevinGravelle | last post by:
Hello, I am running an Apache web server and my httpd configuration file is utilizing the aspdotnet_module in order to run an ASP.NET application. Whenever I try and open my existing web...
15
by: mariosp | last post by:
I would like to request more information for the installation and configuration of Apache in windows 2003 and I would like to know which is better IIS or apache in Windows 2003 Server ...
3
by: Rajendran | last post by:
Hi all, I've installed pyodbc module to access my database (MS Access). I've setup a User level DSN to the database.mdb file. When I run my python code in the command prompt it is retrieving the...
8
by: ajos | last post by:
hi frnds, im trying to convert my servlets database configuration from ms access to mysql database.however im getting some error like no driver found exception. to verify this error ive...
5
by: Gerhard | last post by:
Hi, i'm currently running php4 on my apache 2. now i want to add a php5 support. is there a tutorial how to add also php5 to the webserver? best
0
by: HugoFromBOSS | last post by:
Hello, All Virtualhosts are routing to my default folder. Any Ideas? Thanks
7
by: Fred | last post by:
I have a file (access.php) with the db username and pwd, which I include in every php file that needs db access. I'm not clear on how to set the path. I have an account on a shared *nix server,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.