  | |  | Multiple IPs for VirtualHost | Multiple IPs for VirtualHost 2004-02-19 - By Wil Hatfield
No I mean two completely different servers unconnected in any way. But I used the same redundant setup on the one and it works without error while the other errors as I stated. ....
Using a wildcard setup does that mean it would answer on all IPs and ports? These are configurations I haven't played with in along time.
NameVirtualHost *
What would the VirtualHost directive look like again?
Wil Hatfield
> -----Original Message----- > From: BAO RuiXian [mailto:ruixian.bao@(protected)] > Sent: Thursday, February 19, 2004 2:25 PM > To: users@(protected) > Subject: Re: [users@(protected)] Multiple IPs for VirtualHost > > > > > Wil Hatfield wrote: > > >Basically here is what I have. Funny thing is this configuration seems to > >work fine on one machine but not on another. > > > > > Don't quite understand what do you mean by the above. Do you mean that > the one machine and another are client machines? > > >NameVirtualHost 216.120.76.4:80 > >NameVirtualHost 66.181.8.132:80 > > > > > In your case of transition from one ip to another, how about you just > use a single NameVirtualHost directive followed by a wild card *, and > also make corresponding changes, then you don't need to make two sets of > same virtual hosts in the following. > > Best > > Bao > > ><VirtualHost 216.120.76.4:80> > >Servername www.domainone.com > ></VirtualHost> > > > ><VirtualHost 66.181.8.132:80> > >Servername www.domainone.com > ></VirtualHost> > > > ><VirtualHost 216.120.76.4:80> > >Servername www.domaintwo.com > ></VirtualHost> > > > ><VirtualHost 66.181.8.132:80> > >Servername www.domaintwo.com > ></VirtualHost> > > > > > >Thanks again, > > > >Wil Hatfield > > > > > > > > > > > > > > > >>-----Original Message----- > >>From: BAO RuiXian [mailto:ruixian.bao@(protected)] > >>Sent: Thursday, February 19, 2004 1:20 PM > >>To: users@(protected) > >>Subject: Re: [users@(protected)] Multiple IPs for VirtualHost > >> > >> > >> > >> > >>Wil Hatfield wrote: > >> > >> > >> > >>>Is there an optimal way of setting up a domain at two different IP > >>>addresses. We are switching subnets and want to have redundancy until > >>>the ISPs around the globe flush their caches. Right now I am getting > >>>the following errors: > >>> > >>>[error] VirtualHost xxx.xxx.xxx.xxx:80 mixing * ports and non-* ports > >>>with a NameVirtualHost address is not supported, proceeding with > >>>undefined results > >>>[warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no VirtualHosts > >>> > >>> > >>> > >>I guess in your NameVirtualHost argument there is no port defined, hence > >>comes the error "mixing * ports and non-* ports...". Please make the > >>arguments after NameVirtualHost and VirtualHost consistent to see if the > >>error goes away. > >> > >>Best > >> > >>Bao > >> > >>PS: you may don't want to send HTML format messages, which are disliked > >>by most subscribers. > >> > >> > >> > >>>Thanks in advance, > >>> > >>>Wil > >>> > >>> > >> > >>--------------------------------------------------------------------- > >>The official User-To-User support forum of the Apache HTTP > Server Project. > >> > >> > >> > > > > > > > --------------------------------------------------------------------- > 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@(protected) > " from the digest: users-digest-unsubscribe@(protected) > For additional commands, e-mail: users-help@(protected) > >
--------------------------------------------------------------------- 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@(protected) " from the digest: users-digest-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|
 |