LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Red Hat DNS and Apache configs (https://www.linuxquestions.org/questions/linux-software-2/red-hat-dns-and-apache-configs-91170/)

woolymooly 09-10-2003 04:15 AM

Red Hat DNS and Apache configs
 
I have SOHO RH 9 release installed recently and I am kind of learner of this OS.
I'd like to setup small home network at this time only with 2 pcs and make some WWW development localy.

1. What is the best way to configure Apache 2? Using GUI or modifying httpd.conf file? When I do changes in httpd theya are not propogating into GUI tool.

2. What is the best DNS config I can make on server so my Apache will work properly running virtual hosts?

I suspect that DNS is not working (may be some RPMs are missing) becouse I can only do static mapping on ehternet but dont get the correct responses when DNS is configured through GUI.

appreciate your help

daveo 09-10-2003 06:31 AM

Re: Red Hat DNS and Apache configs
 
Quote:

Originally posted by woolymooly
I have SOHO RH 9 release installed recently and I am kind of learner of this OS.
I'd like to setup small home network at this time only with 2 pcs and make some WWW development localy.

1. What is the best way to configure Apache 2? Using GUI or modifying httpd.conf file? When I do changes in httpd theya are not propogating into GUI tool.

2. What is the best DNS config I can make on server so my Apache will work properly running virtual hosts?

I suspect that DNS is not working (may be some RPMs are missing) becouse I can only do static mapping on ehternet but dont get the correct responses when DNS is configured through GUI.

appreciate your help

1. Hmm the best way to do this is, is manual edit. This also is good for the learning procces and get a good understanding of apache. Heh and you should upgrade to apache2 this is more clear, there's no big config like httpd.conf, but they are all separated ....

2. Hmm I assume that you would like to run bind locally? I've written a small article, howto setup bind local. This can be obtained from: http://www.linuxaddicted.org/index.p...tarticle&id=24 (this is including reverse lookup)

Try to learn things easy, first step apache second dns

Hope this helps

2.

woolymooly 09-10-2003 06:54 PM

Thank you. The only thing that still confusing me is my GUI info on any configs i do in the files. It stays solid unchanged. Should it be? Do I have to do any special configs for virtual hosts in httpd.conf in relation to remote user account and DNS? If you can please reply on it.

Have a nice day!

daveo 09-11-2003 01:59 AM

Quote:

Originally posted by woolymooly
Thank you. The only thing that still confusing me is my GUI info on any configs i do in the files. It stays solid unchanged. Should it be? Do I have to do any special configs for virtual hosts in httpd.conf in relation to remote user account and DNS? If you can please reply on it.

Have a nice day!

Actually on apache2 it's an easy job depending whether you'll like to have a name based or ip based virtualhost. The best way to configure this virtual host, is following the example on apache which is located here: http://httpd.apache.org/docs-2.0/vhosts/ (Apache 2) for apache 1.3 http://httpd.apache.org/docs/vhosts/index.html

My experience is that not all GUI based config programs work as they should.... It might also be that the GUI is apache 1.3 compatible and you're using apache 2 ....

Hope this helps

woolymooly 09-11-2003 02:14 AM

I have actually RH9 release with Apache 2 support (as per RH).
I did apache config previously on Windows 2000 by configuring file. It worked! But RH HTTP Server GUI is braking my neck. I will stick again with manual config, see what happens.

Thanks again fo help.

woolymooly 09-14-2003 06:25 AM

Internal DNS config
 
Hello

I have sorted out my Apache with minimum config. Now im trying to through DNS setup. Im actually using your example. So far i have created all advised zone files. At the end I can not see my server host response.

i have this: "host xxx.xxxxxx.xxx not found: 2(servfail)"

Does it look familiar to you. What 2 means? I don think I made mistakes in the host.conf.

Could you pls help to set this local DNS. I need it for advance config on Apache2.


Thank you very much

daveo 09-14-2003 06:29 AM

Re: Internal DNS config
 
Quote:

Originally posted by woolymooly
Hello

I have sorted out my Apache with minimum config. Now im trying to through DNS setup. Im actually using your example. So far i have created all advised zone files. At the end I can not see my server host response.

i have this: "host xxx.xxxxxx.xxx not found: 2(servfail)"

Does it look familiar to you. What 2 means? I don think I made mistakes in the host.conf.

Could you pls help to set this local DNS. I need it for advance config on Apache2.


Thank you very much

Drop the question related to that topic in my forum plzz.. it's of topic in here ..and it's about an article on my web... It looks like bind is not running ...

I'll see you there ...

woolymooly 09-14-2003 09:00 PM

How do i find your private forum. can you URL pls.

Thanks

daveo 09-15-2003 01:15 AM

Quote:

Originally posted by woolymooly
How do i find your private forum. can you URL pls.

Thanks

Sorry forgot to mention that, it's in my signature ;)

http://www.linuxaddicted.org

Regards,

Dave


All times are GMT -5. The time now is 03:29 AM.