Helpful Information
 
 
Category: Apache
Apache --> Domain

Hi:

I switched OS's, and now am currently running Redhat Linux 9.0. I'm running Apache 1.3.29. I have Apache configured running PHP and MySQL.

How can I get my domain, coopercentral.org, so it is hosted by my Redhat Linux box?

On my registrar, I have ns1.coopercentral.org, and ns2.coopercentral.org created pointing to the IP address of my Redhat Linux box. How can I use Redhat's Domain Name Service to point my domain to my Redhat Linux box? Thanks for your help, it is very much appreciated!!

Ken Cooper

Ok, I finally figured everything out. I have apache, and BIND running. THe only this is, is that I can't resolve my site because port 53 is closed. The result of:

netstat -an | grep -w LISTEN

(on the command line of Redhat Linux 9.0) is:


[root@localhost root]# netstat -an | grep -w LISTEN
tcp 0 0 0.0.0.0:1024 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:1025 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN

As you can see, port 53 isn't in there. How can I get it so that port 53 is opend, and listened to in this list? Thanks for your help!!

Ken Cooper

>> How can I get it so that port 53 is opend, and listened to in this list?

Start named and make sure it's configured to listen for dns requests for your domain.

Ok, yes, I did find out to start "named", but how do I configure it to accept DNS requests for my domain? Hopefully that should do it. Thanks for your help!!

Ken Cooper

Ask on the DNS forum after reading the fine manual on redhat's site - there's some util for doing it 'redhat-config-services' or some such.