You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Baiss Eric Magnusson <ba...@mac.com> on 2005/12/27 23:01:43 UTC

[users@httpd] All DNS requests go only to the parent domain

After the server hard disk crashed I have re-installed Apache 1.3,  
but can only get to the parent domain:
	<http://www.CascadeWebDesign.com>
but not the 2nd, nor other domains.
	<http://www.KohalaSanctuary.com>

dnsReports nothing wrong with <http://www.KohalaSanctuary.com>
*******************************************************
In virtual_host_global.conf I see
	Listen *:80
	Listen 216.162. xxx.xxx:80
	NameVirtualHost 216.162. xxx.xxx:80
*******************************************************
Here's <db.kohalasanctuary.com>, which is referenced by <named.conf>

$TTL 86400
kohalasanctuary.com.            IN      SOA      
cascade.suddentechnology.com.   baiss.cascadewebdesign.com.     (
                                                          
2005121914      ;       serial
                                                          
3h      ;       refresh
                                                          
1h      ;       retry
                                                          
1w      ;       expiry
                                                          
1h       ) ;       minimum
;
; Name servers
;
kohalasanctuary.com.                                    IN       
NS      cascade.suddentechnology.com.
kohalasanctuary.com.                                    IN       
NS      treehouse.suddentechnology.com.

;
; Addresses for the canonical names
;
kohalasanctuary.com.             IN A   216.162.215.196
www.kohalasanctuary.com.         IN A   216.162.215.196
ftp.kohalasanctuary.com.         IN A   216.162.215.196

*******************************************************
Here's <0003_216.162.215.196_80_kohalasanctuary.com.conf>, which is  
what the Apache has done with <db.kohalasanctuary.com>, correct...

<VirtualHost 216.162.215.196:80>
         ServerName kohalasanctuary.com
         ServerAdmin baiss@cascadewebdesign.com
         DocumentRoot "/Library/WebServer/Documents/KohalaSanctuary/"
         DirectoryIndex index.html
         CustomLog "/var/log/httpd/access_log" "%{PC-Remote-Addr}i %l  
%u %t \"%r\" %>s %b"
         ErrorLog "/var/log/httpd/error_log"
         ErrorDocument 404 /error.html
         <IfModule mod_ssl.c>
                 SSLEngine Off
                 SSLLog "/var/log/httpd/ssl_engine_log"
                 SSLCertificateFile "/etc/certificates/Default.crt"
                 SSLCertificateKeyFile "/etc/certificates/Default.key"
                 SSLCipherSuite "ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:! 
SSLv2:+EXP:+eNULL"
         </IfModule>
         <IfModule mod_dav.c>
                 DAVLockDB "/var/run/davlocks/.davlockany_80_default"
                 DAVMinTimeout 600
         </IfModule>
         <Directory "/Library/WebServer/Documents/KohalaSanctuary/">
                 Options All -Indexes -ExecCGI -Includes +MultiViews
                 <IfModule mod_dav.c>
                         DAV Off
                 </IfModule>
                 AllowOverride None
         </Directory>
         <IfModule mod_rewrite.c>
                 RewriteEngine On
                 RewriteCond %{REQUEST_METHOD} ^TRACE
                 RewriteRule .* - [F]
         </IfModule>
         <IfModule mod_alias.c>
         </IfModule>
         LogLevel warn
         ServerAlias *
</VirtualHost>

----
Thanks much,
Baiss Eric Magnusson
<http://www.CascadeWebDesign.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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org