httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Grace" <rub...@earthlink.net>
Subject Re: Apache and windows
Date Fri, 01 Feb 2002 00:18:09 GMT
Your best bet is to try to ping the domain. (start->run->PING
somedomain.com) If this doesn't work, chances are you don't have the domain
itself configured right -- Apache never responds bcause it never gets the
request in the first place)

If this doesn't work, chances are the domain isn't configured properly. The
domain you use must still be a valid domain name -- at least, as far as both
Apache and the client (in this case, the same machine) are concerned.

if it's just for testing, the actual domain name does not matter. Thus, you
may be able to simply do IP-based virtual hosting and use 127.0.0.2,
127.0.0.3, etc.

If THAT doesn't work and you don't have any way of doing the appropriate DNS
modifications (can't run a DNS server or don't have access to one, etc.),
consider modifying your HOSTS file (C:\WINDOWS\system32\drivers\etc\hosts)
and adding in the domain name(s) you are testing. (Note this will only work
on your machine, and if they correspond with a real domain you won't be able
to access the real ones as long as the entries are in this file. I fancy
using the bogus ".lan" top-level domain (e.g. testing.lan, valhalla.lan) for
internal use inthis manner.)

-- Daniel Grace

----- Original Message -----
From: <linux@altahost.com>
To: <users@httpd.apache.org>
Sent: Thursday, January 31, 2002 3:46 PM
Subject: Apache and windows


> I am running apache on windows XP but only using it for local
> development purposes. I want to be able to add multiple named based
> sites to apache (again only for view locally). Do I need to configure
> anything else other then the http.conf file in order to setup a name
> based domain. I have already made the necessary modifications to my
> http.conf file but still cannot access the domain.
>
>
> Jeff



---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message