Each virtual host must have the url that reaches that host within a ServerName directive as below
NameVirtualHost *:80 <VirtualHost *:80> ServerName URL1 </VirtualHost> <VirtualHost *:80> ServerName URL2 </VirtualHost> On Sun, Jun 6, 2010 at 7:04 PM, Jeff Shearer <j...@shearer-family.org>wrote: > Thanks that's great news. > > I am still trying to resolve this error message I am getting. Eric said I > need to be certain that my NameVirtualHost and VirtualHost directives > matched literally. I reread the documentation on http://httpd.apache.organd > see what I believe is the same statement said differently. That the > directives must match. I checked each of the directives on my development > server and they match. Here are the greps: > > NameVirtualHost 192.168.0.93:80 <http://192.168.0.93/> > <VirtualHost 192.168.0.93:80 <http://192.168.0.93/>> > <VirtualHost 192.168.0.93:80 <http://192.168.0.93/>> > <VirtualHost 192.168.0.93:80 <http://192.168.0.93/>> > <VirtualHost 192.168.0.93:80 <http://192.168.0.93/>> > <VirtualHost 192.168.0.93:80 <http://192.168.0.93/>> > > I also carefully verified that my /etc/hosts include a fqdn for each of the > VirtualHosts served from my development server. Yet, I get the following > error: > > [Sun Jun 06 14:02:11 2010] [warn] NameVirtualHost > 192.168.0.93:80<http://192.168.0.93/>has no VirtualHosts > > I am going nuts here with this. What am I missing? > > Thanks. > > > ====================== > Jeff Shearer, CISA, CISSP > > -----Original Message----- > From: "Manoj Samtani" [manoj.kuma...@hotmail.com] > Date: 06/06/2010 10:43 AM > To: users@httpd.apache.org > Subject: RE: [us...@httpd] NameVirtualHost Directive - - - - Multiple SSL > virtual hosts > > Look this link dear, > > > http://www.zdnetasia.com/configure-apache-to-support-multiple-ssl-sites-on-a-single-ip-address-62059501.htm > > > In web hosting environment, one certificate used for single domain and > other sites are using by /sitename etc.. but if we use Apache 2.2.12 version > we can install multiple Certificates for multiple Domains. > > > Regards, > Manoj > > > Date: Sun, 6 Jun 2010 13:29:26 -0400 > > CC: > > To: users@httpd.apache.org > > From: j...@shearer-family.org > > Subject: RE: [us...@httpd] NameVirtualHost Directive - - - - Multiple > SSL virtual hosts > > > > Manoj, > > > > I am using 2.2.11. Hmmmmm. > > > > Are you saying if I move to 2.2.12 I can server multiple name-based ssl > virtual hosts on the same IP and ports? > > > > Even so, I may choose to use a multi-domain SSL certificate. Being able > to use this for up to 25 domains seems like a lower cost alternative to > buying 25 separate certificates.. Have you had any experience with this? > If so, do you know how to configure the virtual hosts for this? I am > guessing one just points the SSL directives in each VirutalHost to the same > server key and certificate. But please, advise if you know for certain how > this works. > > > > Thanks. > > > > > > > > -----Original Message----- > > From: "Manoj Samtani" [manoj.kuma...@hotmail.com] > > Date: 06/06/2010 10:20 AM > > To: users@httpd.apache.org > > Subject: RE: [us...@httpd] NameVirtualHost Directive - - - - Multiple > SSL > > virtual hosts > > > > Which Apache version are you using? > > > > Till now Multiple SSL VHOST's are not available for same port and IP. > This can be possible through Apache 2.2.12. > > So, you do not need to take tension ;-) > > > > > > Just change your Apache Version. > > > > > > Regards, > > Manoj > > > > > Date: Sat, 5 Jun 2010 16:12:09 -0400 > > > From: cove...@gmail.com > > > To: users@httpd.apache.org > > > Subject: Re: [us...@httpd] NameVirtualHost Directive - - - - Multiple > SSL virtual hosts > > > > > > On Sat, Jun 5, 2010 at 4:08 PM, Jeff Shearer <j...@shearer-family.org> > wrote: > > > > [Sat Jun 05 15:51:21 2010] [warn] VirtualHost > > > > fqdn1.com:80<http://fqdn1.com/>overlaps with VirtualHost > fqdn2.com:80 <http://fqdn2.com/>, the first has precedence, perhaps you > need a NameVirtualHost directive > > > > > > > > This is repeated for every name-based virtual host I have until I > added the fqdns to /etc/hosts. However, I still get the error message about > NameVirtualHost 192.168.0.93 has no Virtual Hosts > > > > > > > > > > The arguments for your 1 NameVirtualHost and correspoinding N > > > VirtualHosts have to be identical in the literal sense, not just > > > logically the same. > > > -- > > > Eric Covener > > > cove...@gmail.com > > > > > > --------------------------------------------------------------------- > > > 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-unsubscr...@httpd.apache.org > > > " from the digest: users-digest-unsubscr...@httpd.apache.org > > > For additional commands, e-mail: users-h...@httpd.apache.org > > > > > > > > > Manage your finance and manage money through MSN Money Special Drag n' > drop > > > > --------------------------------------------------------------------- > > 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-unsubscr...@httpd.apache.org > > " from the digest: users-digest-unsubscr...@httpd.apache.org > > For additional commands, e-mail: users-h...@httpd.apache.org > > > > > The dark side of terrorists revealed in MSN Internal Security Get it now. > > --------------------------------------------------------------------- > 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-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >