[EMAIL PROTECTED] wrote:
> 
> Full_Name:
> Version: 2.8.5
> OS: Linux
> Submission from: (NULL) (216.72.177.4)
> 
> I have defined 2 domains in one server, based on IP address
> my etc/hosts file is like:
> 20.30.70.40    server_name    www.domain_A  domain_A
> 20.30.70.48   server_name   www.domain_B   domain_B

Could be that apache is not listening to 20.30.70.48... I like to be
very explicit by linking "Listen" directives closely with the VHs and
not relying on defaults, e.g.

 Listen 20.30.70.40:443
 <VirtualHost 20.30.70.40:443>
     DocumentRoot /home/httpd/domain_A/www
     etc...

 Listen 20.30.70.48:443
 <VirtualHost 20.30.70.48:443>
     DocumentRoot /home/httpd/domain_B/www
     etc...

by the way, since you are using IP-based virtual-hosting, you don't
really need the "NameVirtualHost' directives.

Rgds,

owen Boyle.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to