you don't need separate ip addresses for separate servers
your server software (e.g., Apache) has the notion of virtual servers
or you can configure the instances on different ports if you wish
it's all in the server configuration

________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Don Brown via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx>
Sent: Saturday, May 18, 2024 7:05 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: Don Brown <DBrown@xxxxxxxxxx>
Subject: Assigning IP address to HTTP Server


CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

I would like to do some testing internally with different versions of PHP.

Currently the HTTP Server configuration is listening on all IP Addresses
(EG *:443)

If I want to have two servers listening on say 443 they would have to be
assigned different addresses (EG 192.168.1.1:443 and 192.168.1.2:443)

I am presuming that where I have two or more HTTP servers listening on the
same port then all the servers would need to have an IP address assigned
that listen on, in this case port 443 ?

Or what happens if we have two servers set up as

Server #1 *:443
Server #2 192.168.1.1:443

I am thinking the results would be unpredictable ?

Is there a better way to do this for internal access ? (External I could
simply redirect to any port I wanted)

Thanks

Don



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.