You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joe Barrett <jn...@charter.net> on 2003/04/26 22:03:56 UTC

[users@httpd] Dumb person question

Hi, I've had an apache server running for awhile now but I don't know very
much advanced stuff.  So I have a question: Is it possible to have two http
servers on the same IP address? If so how would I go about doing that?


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


Re: [users@httpd] Dumb person question

Posted by Thomas Strike <st...@pacbell.net>.
p.s.
The best documentation is on line, but having a good book that lays the
subject out in a way that makes sense and gives you a lot of insite and that
you can cary with you is a good start.

Best of luck,
Tom S.


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


Re: [users@httpd] Dumb person question

Posted by Joshua Slive <jo...@slive.ca>.
On Sun, 27 Apr 2003, System wrote:
> > Hi, I've had an apache server running for awhile now but I don't know very
> > much advanced stuff.  So I have a question: Is it possible to have two
> http
> > servers on the same IP address? If so how would I go about doing that?
>  This question has been Repeated in the List for more than times!!!!!
> You'll get the Answer in the Archievs!!!!
> Goolge around and search apache.org!!!

Although it is true that it is an oft-repeated question, it still helps to
provide a couple details.  For example, what you want is called
"name-virtual hosts" and is documented at:

http://httpd.apache.org/docs-2.0/vhosts/name-based.html

Joshua.

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


Re: [users@httpd] Dumb person question

Posted by System <sy...@eluminoustechnologies.com>.


> Hi, I've had an apache server running for awhile now but I don't know very
> much advanced stuff.  So I have a question: Is it possible to have two
http
> servers on the same IP address? If so how would I go about doing that?
 This question has been Repeated in the List for more than times!!!!!
You'll get the Answer in the Archievs!!!!
Goolge around and search apache.org!!!

Regards,
Tina




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


RE: [users@httpd] Dumb person question

Posted by Jeff Cohen <su...@gej-it.com>.

> -----Original Message-----
> From: Jurgen [mailto:apache@squarehosting.com]
> Sent: Saturday, April 26, 2003 5:10 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Dumb person question
> 
> Hi,
> 
> if you are talking about http servers as opposed to virtual servers the
> answer is still yes. BUT they have to be running on different ports. One
> could be runnning on the default port 80, but the other one would have
> to run on another port. The you have to connect to it like this:
> http://servernameORip:81 This would connect to port 81 then.
> 
> Jurgen


Not totally true, as Thomas said, there are really more than one option to
do it.
Take a look at:
http://httpd.apache.org/docs-2.0/vhosts/
(by Pete)

All the best,
Jeff Cohen


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


Re: [users@httpd] Dumb person question

Posted by Jurgen <ap...@squarehosting.com>.
Hi,

if you are talking about http servers as opposed to virtual servers the
answer is still yes. BUT they have to be running on different ports. One
could be runnning on the default port 80, but the other one would have
to run on another port. The you have to connect to it like this:
http://servernameORip:81 This would connect to port 81 then.

Jurgen


On Sat, 26 Apr 2003 13:03:56 -0700
"Joe Barrett" <jn...@charter.net> wrote:

> Hi, I've had an apache server running for awhile now but I don't know
very> much advanced stuff.  So I have a question: Is it possible to have
two http> servers on the same IP address? If so how would I go about
doing that?> 
> 
> ---------------------------------------------------------------------
> 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
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

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


Re: [users@httpd] Dumb person question

Posted by Pete Trachy <pe...@foxcreekleather.com>.
I have to recommend the manual on apache.org.  They have a
great section on virtual hosting that got me started. 
Almost everything that I have wanted to do has been
explained fairly well there.

http://httpd.apache.org/docs-2.0/vhosts/

Pete

> There are several ways to service different domains with
> Apache, But the
> most straight foreword way is to use one single Apache
> service and do
> Virtual hosting.  You can do Name Based Virtual Hosting
> where all web sites
> are serviced on a single IP address and Port. This is the
> most popular.  If
> you have several IP addresses assigned, One for each
> Domain name, You can do
> IP based Virtual Hosting.  If you want to run another http
> server software
> in the same machine, You can set Apache to only respond to
> one IP address.
> There are just a few of the variations of setting up
> Apache.
>
> I would recommend picking up a good book on Apache.  There
> are a lot of them
> out there and they will give you a better understanding of
> what you would
> like to do with your http services.
>
>
> ----- Original Message -----
> From: "Joe Barrett" <jn...@charter.net>
> To: "Apache" <us...@httpd.apache.org>
> Sent: Saturday, April 26, 2003 1:03 PM
> Subject: [users@httpd] Dumb person question
>
>
>> Hi, I've had an apache server running for awhile now but
>> I don't know very
>> much advanced stuff.  So I have a question: Is it
>> possible to have two
> http
>> servers on the same IP address? If so how would I go
>> about doing that?
>
>
>
> ---------------------------------------------------------------------
> 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
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
>
>


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


Re: [users@httpd] Dumb person question

Posted by Thomas Strike <st...@pacbell.net>.
There are several ways to service different domains with Apache, But the
most straight foreword way is to use one single Apache service and do
Virtual hosting.  You can do Name Based Virtual Hosting where all web sites
are serviced on a single IP address and Port. This is the most popular.  If
you have several IP addresses assigned, One for each Domain name, You can do
IP based Virtual Hosting.  If you want to run another http server software
in the same machine, You can set Apache to only respond to one IP address.
There are just a few of the variations of setting up Apache.

I would recommend picking up a good book on Apache.  There are a lot of them
out there and they will give you a better understanding of what you would
like to do with your http services.


----- Original Message -----
From: "Joe Barrett" <jn...@charter.net>
To: "Apache" <us...@httpd.apache.org>
Sent: Saturday, April 26, 2003 1:03 PM
Subject: [users@httpd] Dumb person question


> Hi, I've had an apache server running for awhile now but I don't know very
> much advanced stuff.  So I have a question: Is it possible to have two
http
> servers on the same IP address? If so how would I go about doing that?



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


RE: [users@httpd] Dumb person question

Posted by Jeff Cohen <su...@gej-it.com>.
The question would be: how do you want to run it? Is the apache going to run
several websites that are different by name?
Jeff Cohen

> -----Original Message-----
> From: Joe Barrett [mailto:jnjbarrett@charter.net]
> Sent: Saturday, April 26, 2003 4:04 PM
> To: Apache
> Subject: [users@httpd] Dumb person question
> 
> Hi, I've had an apache server running for awhile now but I don't know very
> much advanced stuff.  So I have a question: Is it possible to have two
http
> servers on the same IP address? If so how would I go about doing that?
> 
> 
> ---------------------------------------------------------------------
> 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
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


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