pache question:virtual www. Not working, www. working

Tonnere de Brest x at y.z.com
Fri Apr 14 04:34:13 UTC 2000


This is the environment of the machine:
5 Rot at ns1 /root#rpm -qa | grep -i bind
bind-8.2.1-7mdk
bind-devel-8.2.1-7mdk
bind-utils-8.2.1-7mdk
ypbind-3.3-21mdk
6 Rot at ns1 /root#rpm -qa | grep -i postfix
postfix-19990601-4mdk
7 Rot at ns1 /root#uname -a
Linux ns1 2.2.13-4mdk #1 Tue Sep 7 18:23:11 CEST 1999 i686 unknown
8 Rot at ns1 /root#rpm -qa | grep -i  apache
apache-1.3.9-7mdk
apache-devel-1.3.9-7mdk
9 Rot at ns1 /root#rpm -qa | grep -i http
libghttp-1.0.4-3mdk
libghttp-devel-1.0.4-3mdk
10 Rot at ns1 /root#rpm -qa | grep -i httpd
11 Rot at ns1 /root#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:A0:CC:5E:BB:8C  
          inet addr:63.202.70.187  Bcast:63.202.70.191 
Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14718 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18013 errors:3 dropped:0 overruns:0 carrier:3
          collisions:0 txqueuelen:100 
          Interrupt:11 Base address:0xe800 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:905 errors:0 dropped:0 overruns:0 frame:0
          TX packets:905 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

These are my bind files:

12 Rot at ns1 /root# more /etc/named.conf

options {
        directory "/var/named";
};

zone "0.0.127.IN-ADDR.ARPA" in {
        type master;
        file "db.127.0.0";
        notify no;
};

zone "domainmart.net" in {
        type master;
        file "db.domainmart";
};

zone "gometric.org" in {
        type master;
        file "db.gometric.org";
};

zone "184.70.202.63.IN-ADDR.ARPA" in {
        type master;
        file "db.63.202.70.184";
};

zone "." in {
        type hint;
        file "db.cache";
};

15 Rot at ns1 /var/named# more  db.domainmart <======
@ IN  SOA ns1.domainmart.net. gchiht.2xtreme.net. ( 1 10800 3600 604800
86400 )
  IN  NS  ns1.domainmart.net.
  IN  NS  ns2.domainmart.net.

localhost            IN  A     127.0.0.1
ns1.domainmart.net.     IN  A  63.202.70.187
ns2.domainmart.net.     IN  A  63.202.70.188
;ns1.domainmart.net.    IN  MX 10 ns1.domainmart.net.
domainmart.net.         IN  MX 10 ns1.domainmart.net.
domainmart.net.         IN  MX 20 ns2.domainmart.net.
;
www.domainmart.net.     IN CNAME ns1.domainmart.net.
mail.domainmart.net.    IN CNAME ns1.domainmart.net.
ftp.domainmart.net.     IN CNAME ns1.domainmart.net.
;
16 Rot at ns1 /var/named# more db.63.202.70.184  <======
@ IN  SOA ns1.domainmart.net. gchiht.2xtreme.net. ( 1
                                 10800 3600 604800 86400 )
  IN  NS  ns1.domainmart.net.
  IN  NS  ns2.domainmart.net.


187.70.202.63.IN-ADDR.ARPA.     IN  PTR ns1.domainmart.net.
188.70.202.63.IN-ADDR.ARPA.     IN  PTR ns2.domainmart.net.

17 Rot at ns1 /var/named#more db.gometric.org  <======
@ IN  SOA ns1.domainmart.net. gchiht.2xtreme.net. ( 1 10800 3600 604800
86400 )
  IN  NS  ns1.domainmart.net.
  IN  NS  ns2.domainmart.net.

;www.gometric.org.      IN CNAME ns1.domainmart.net.
;mail.gometric.org.     IN CNAME ns1.domainmart.net.
;ftp.gometric.org.      IN CNAME ns1.domainmart.net.
gometric.org.           IN  A  63.202.70.187
www.gometric.org.       IN  A  63.202.70.187
mail.gometric.org.      IN  A  63.202.70.187
ftp.gometric.org.       IN  A  63.202.70.187
gometric.org.           IN  MX 10 ns1.domainmart.net.
gometric.org.           IN  MX 20 ns2.domainmart.net.
;

nslookup works as you can see:
19 Rot at ns1 /var/named#nslookup www.domainmart.net
Server:  adsl-63-202-70-187.dsl.snfc21.pacbell.net
Address:  63.202.70.187

Name:    ns1.domainmart.net
Address:  63.202.70.187
Aliases:  www.domainmart.net

20 Rot at ns1 /var/named#nslookup ns1.domainmart.net
Server:  adsl-63-202-70-187.dsl.snfc21.pacbell.net
Address:  63.202.70.187

Name:    ns1.domainmart.net
Address:  63.202.70.187

21 Rot at ns1 /var/named#nslookup gometric.org
Server:  adsl-63-202-70-187.dsl.snfc21.pacbell.net
Address:  63.202.70.187

Name:    gometric.org
Address:  63.202.70.187

22 Rot at ns1 /var/named#nslookup www.gometric.org
Server:  adsl-63-202-70-187.dsl.snfc21.pacbell.net
Address:  63.202.70.187

Name:    www.gometric.org
Address:  63.202.70.187


lynx http://www.gometric.org does not work, I get the following
error message:
403 Forbidden

Forbidden

You don't have permission to access / on this server.


These are the relevant apache files:
In /etc/httpd/conf/httpd.conf: <======
#
Include conf/vhosts/vhost0.conf

24 Rot at ns1 /var/named#more /etc/httpd/conf/vhosts/vhost0.conf <======
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the VirtualHost command

#Listen 192.168.0.0:80

# VirtualHost: Allows the daemon to respond to requests for more than
one
# server address, if your server machine is configured to accept IP
packets
# for multiple addresses. This can be accomplished with the ifconfig 
# alias flag, or through kernel patches like VIF.

# Any httpd.conf or srm.conf directive may go into a VirtualHost
command.
# See also the BindAddress entry.
 
#<VirtualHost 192.168.0.0>
#ServerAdmin webmaster at host.some_domain.com
#DocumentRoot /home/web000/public_html
#ServerName 192.168.0.0
#ErrorLog logs/192.168.0.0-error_log
#TransferLog logs/192.168.0.0-access_log
#ScriptAlias /cgi-bin/ /home/web000/public_html/cgi-bin/
#</VirtualHost>

<VirtualHost 63.202.70.187>
ServerAdmin  gct at domainmart.net
ServerName www.gometric.org
DocumentRoot /home/gct/public_html
ErrorLog logs/gometric.org-error_log
TransferLog logs/gometric.org-access_log
ScriptAlias /cgi-bin/ /home/gct/public_html/cgi-bin/
</VirtualHost>

Any help would be appreciated.

Thank you very much.
If you have any questions, please don't hesitate to contact me.
 Thanks, Ghaouar Camij Toschian,
 gchiht at 2xtreme.net, 510 5408013, 2500 Durant # 310, Bk, CA 94704
 http://www.domainmart.net/InternetAccess/buildings.htm
 http://www.istanbulexpress.com/oldsite/sweetener.html

Visualize that the smoke of cigarettes is unpleasant to other people.
Visualize that peoples' civic duties do NOT include having to breathe
the
smoke from cigarettes.
Visualize that astrologers, fortune tellers, tarot card readers,
psychics and
palm readers are Crooks, Fools or Both.
Visualize using the Metric System.



More information about the bind-users mailing list