Afficher un message
Vieux 21/07/2006, 05h02   #8
Ace Fekay [MVP]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache virtual host on a private machine

In news:znFvg.174647$F_3.79955@newssvr29.news.prodigy .net,
sweet_cheex <sweet_cheeks_sf_nofriedspam42@pacbell.net> stated, which I
commented on below:
> Actually if you read more closely yes they do. I clearly stated that
>
> a) I am running windows xp
> b) I am trying to set up virtual hosts in apache, which is also a
> popular web server which runs on windows
> c) I want to do it without a domain name
> d) In that light I want to figure out how to do IP-based virtual hosts
>
> If this is totally outside the purview of this group I do apologize,
> but based on some of the items above I would submit it isn't.
>
> Thanks again


This is more of an IIS group question, as I mentioned in my original
response. But I did respond to almost all of what you are asking in the list
in this last post.

Yes, Apache is a very popular web server, but keep in mind where did you
post your question? You posted a question about Apache in a Microsoft DNS
newsgroup. But I tried to to relate to you that IIS and Apache are very
similar and probably posting it in the IIS group would have been closer.
Actually there are Apache newsgroups out there that would have been more
specific.

As far as web servers, they all do the same job and have pretty much similar
features.

Besides the step by step on how to add an IP address, you mentioned the
steps to add entries into the HOSTS file, then configure them in the
httpd.conf file. DNS is a (central) dynamic database of names for everyone
to use that replaces the hosts file. Hosts files are local machine only. If
you want just IPs, don't bother adding names in the httpd.config (IIRC
that's how it works).

As for your question #c, you don;t have to have a domain name, you can just
connect by IP address,or name, whichever you like. You have the how-to to
create multiple IPs under XP (which the steps are the same for 2000 and
2003). Once the IPs are in the OS, then they become available under IIS OR
Apache. Apache and IIS recognize the operating system and it's IP
configuration to allow you to use them.

One IP is easier, especially if you are not using SSL (https). Just create
names, such as website1, website2, etc. Create the name website

Ace





  Réponse avec citation
 
Page generated in 0,06254 seconds with 9 queries