I am assuming I need to take my HOSTNAME directive out then correct?  Yes
the DNS returns the same address.

-----Original Message-----
From: R. Bruce Hoffman, Jr. [mailto:rbruceh@attglobal.net]
Sent: Thursday, October 11, 2001 2:15 PM
To: web400@midrange.com
Subject: Re: [WEB400] HTTP server configs


-----Original Message-----
From: Bartell, Aaron L. (TC) <ALBartell@taylorcorp.com>
To: 'web400@midrange.com' <web400@midrange.com>
Date: Thursday, October 11, 2001 2:34 PM
Subject: RE: [WEB400] HTTP server configs


>So how do I setup my _one_ config file for my _one_ instance to allow
>www.abc.com and www.cbs.com and www.nbc.com to all be specified?  That is
>where I am lost.

well, first you need to get there... dns needs to either return the same
address for each name or the nic needs to be multihomed.

next, in the config, you qualify the directives....

Pass /* /abcdir/* www.abc.com
Pass /* /nbcdir/*  www.nbc.com
Pass /* /cbs/*       www.cbs.com

so any request that arrives for abc.com is answered from the abcdir
directory.

===========================================================
R. Bruce Hoffman, Jr.
 -- IBM Certified Specialist - AS/400 Administrator
 -- IBM Certified Specialist - RPG IV Developer

"America is the land that fought for freedom and then
  began passing laws to get rid of it."

     - Alfred E. Neuman



_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.