LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-05-2005, 09:12 PM   #1
Taelmx
LQ Newbie
 
Registered: Dec 2004
Location: Near Chicago
Distribution: Red Hat
Posts: 12

Rep: Reputation: 0
Apache help.


I am running RH 9, with Apache, and I'm not quite sure how to set up a http server. I have tried fooling around with the DNS too. Does anyone know what settings to use for DNS and Apache?
 
Old 11-06-2005, 11:09 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Start by looking in the LQ Wiki at the Apache and Bind pages..

http://wiki.linuxquestions.org/wiki/Web_server
http://wiki.linuxquestions.org/wiki/...stem_%28DNS%29
 
Old 11-06-2005, 12:52 PM   #3
Taelmx
LQ Newbie
 
Registered: Dec 2004
Location: Near Chicago
Distribution: Red Hat
Posts: 12

Original Poster
Rep: Reputation: 0
That helped a little, but what I need is more of an example. Like:

for name server put the name of the website (eg. www.f***microsoft.com)




I'm getting name server, server name and all the other things mixed up.
 
Old 11-06-2005, 12:59 PM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Ok... do the webserver first. Get those names decided, then put them into dns.

httpd.conf
Code:
<VirtualHost www.demo.projekts.biz:80>
        DocumentRoot /var/www/newproject/futura/demo
        ServerName demo.projekts.biz
        ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
        Alias /icons/ "/var/www/icons/"
        ErrorLog /var/log/httpd/errors/futura.newproject
        TransferLog /var/log/httpd/transfers/futura.newproject
        CustomLog /var/log/httpd/access/futura.newproject common
        ServerAdmin andrzej@projekts.biz
</VirtualHost>
named.conf
Code:
zone "projekts.biz" {
        type master;
        file "pz/projekts.biz";
        allow-query { any; };
};
/var/named/pz/projekts.biz
Code:
$TTL 3D
@       IN      SOA     projekts.biz. root.projekts.biz. (
                        2005032901
                        8H
                        4H
                        4W
                        3D )
;
                        NS dsl1.epa.com.pl.
                        NS projekts.biz.
                        NS dns.alfanet.wroclaw.pl.
                        NS dns2.alfanet.wroclaw.pl.
                        MX 10 projekts.biz.
;
localhost               A 127.0.0.1
projekts.biz.           A 83.16.231.94
ftp                     A 83.16.231.94
linux                   A 83.16.231.94
www.futur               A 83.16.231.94
smoothie                A 83.16.231.94
www.demo                A 83.16.231.94
demo                    A 83.16.231.94

Last edited by peter_robb; 11-06-2005 at 01:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail from Apache being rejected - Cannot route to sender apache@localhost.localdomain jimwillsher Linux - Networking 2 01-19-2006 12:41 AM
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 04:11 PM
Strange apache trailing / problem - Slack-current, apache 1.3.33 vamp Linux - Networking 1 01-30-2005 07:28 PM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration