|
You shouldn't be putting a hostname (ie www.carltheshoemaker.com) in your config, you should use an IP address. You bind to IP address, not domain names. The DNS is seperate from the web server in your case. So, you need to create a new IP interface, start it, then use that IP address in your config file. If you're as.400 is behind a firewall, then you also need an external IP address and that is the IP address you hook the DNS up to. Then, when requests are made to that external IP address, the firewall/router magically forwards the request to your internal IP address. You're as400 knows nothing of www.carlshoemaker.com, it only knows about it's interal IP address. This is if you want seperate instances. You can use one instance and qualify your configs with actual domain names (ie host headers, or virtual hosting), but I don't think that's what you want. I don't know why I know what you're trying to do... it's like... I've been there or something. ;) Brad www.bvstools.com On Thu, 11 Oct 2001 14:38:50 -0500 "Bartell, Aaron L. (TC)" <ALBartell@taylorcorp.com> wrote: > 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. > _______________________________________________ > 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. > Bradley V. Stone BVS.Tools www.bvstools.com
As an Amazon Associate we earn from qualifying purchases.
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.