PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.win > Can't set vhosts on Apache!
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.win Web servers for MS Windows and NT.

Can't set vhosts on Apache!

Réponse
 
LinkBack Outils de la discussion
Vieux 07/09/2005, 19h48   #1
sd7785
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Can't set vhosts on Apache!

Hi! I'm new.
I want to test some MySQL dbases on my local machine.
I've installed and removed, and installed and removed the Apache server
(vers.2.0.47) over, and over, and over, and over... again, and tried
dozens of possible combinations of installation options, and httpd.conf
settings and directives in order to have the server responding to at
least one and only one other address then the default one.
I've followed the instructions in the included documentation
(http://localhost/manual/) as comfirmed in the on-line documentation
(http://httpd.apache.org/docs-2.0/vhosts/) as well.

All I want is a just a mere, simple, humble address like
"www.example.com". One! At least one and only one! In fact, I don't
even want any more, any longer vhosts! None at all! I just want the
default host to be a "www.example.com"-like address.

Whatever I do, however I set it, it shows up the starting page only for
http://localhost, or http://s0.mshome.net.

It's amazing!!! I'm checking up the vhost settings on the console,
"apache.exe -S", it says no warning, no error, "syntax OK", "default
server www.example.com", and then I type in the browser the same
address, -it isn't OK anymore, anylonger..., it says nothing!

What do I miss, which directive do I overlook, since it happens this
way...???!
Thanks!

  Réponse avec citation
Vieux 07/09/2005, 20h05   #2
Phil Frisbie, Jr.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can't set vhosts on Apache!

sd7785 wrote:

> Hi! I'm new.
> I want to test some MySQL dbases on my local machine.
> I've installed and removed, and installed and removed the Apache server
> (vers.2.0.47) over, and over, and over, and over... again, and tried
> dozens of possible combinations of installation options, and httpd.conf
> settings and directives in order to have the server responding to at
> least one and only one other address then the default one.
> I've followed the instructions in the included documentation
> (http://localhost/manual/) as comfirmed in the on-line documentation
> (http://httpd.apache.org/docs-2.0/vhosts/) as well.
>
> All I want is a just a mere, simple, humble address like
> "www.example.com". One! At least one and only one! In fact, I don't
> even want any more, any longer vhosts! None at all! I just want the
> default host to be a "www.example.com"-like address.
>
> Whatever I do, however I set it, it shows up the starting page only for
> http://localhost, or http://s0.mshome.net.
>
> It's amazing!!! I'm checking up the vhost settings on the console,
> "apache.exe -S", it says no warning, no error, "syntax OK", "default
> server www.example.com", and then I type in the browser the same
> address, -it isn't OK anymore, anylonger..., it says nothing!
>
> What do I miss, which directive do I overlook, since it happens this
> way...???!


You missed the fact that you need to add a DNS entry so that your browser can
resolve www.example.com to an IP address. How you do that depends on your OS,
and whether you have a DNS server on your LAN or not. It has nothing to do with
Apache.

> Thanks!


--
Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com
  Réponse avec citation
Vieux 08/09/2005, 23h10   #3
sd7785
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can't set vhosts on Apache!

To: Phil Frisbie

Well, thanks... I've tried all this possible combinations, too. No
chance!

So, I'me currently editting the sites on XP prof., but I strive to
configure the testing servers on some obsolete machines runnig on 98SE,
all connected on a local network. The same network I use when working
on-line using the XP's i-net connection sharing. (I say again: on the
net I don't use the Apache at all! The testing servers are usefull
locally, only.)

Say, the IP's of one testing machines are:
169.254.10.88 sub-m: 255.255.0.0 -locally;
192.168.0.125 sub-m: 255.255.255.0 -i-net sharing.
I open the network settings, take the TCP/IP ->...adapter's properties,
and I get the following tabs: Bindings/ Advanced/ NetBIOS/ DNS
Configuration/ Gateway/ WINS Configuration/ IP address.
Now, would you be so kind as to tell me what to do here, since I've
tried all the possible settings I could figure out, and the most I get
is to have the Apache server to respond to "htpp://192.168.0.125:80"
address on the other machines, but never to "www.example.com"

Best Thanks.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 17h58.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11689 seconds with 11 queries