LinuxQuestions.org
Review your favorite Linux distribution.
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 07-27-2004, 09:27 AM   #1
aarond
Member
 
Registered: Jul 2004
Posts: 36

Rep: Reputation: 15
Using Fedora as a Server, DNS


Hello,

I have the Fedora Core installed on my PC. I would like to host a web-site from my machine.
How do I go about this? I have used Mac OSX 's Apache server before and have some experience from that, with Mac OSX I also had to allow services in System Preferences > Sharing . Is that even similar to what I will have to do w/ the Fedora Core? Please any input would help. . .

Thanks in advance ,

Aaron

PS: Can anyone tell me a bit about the DNS server I saw listed when I installed Fedora. Would this feature allow me to no longer pay "Godaddy" for my hosting and to just keep the files on my Linux box? What I mean is could the domain that I buy off them be pointed at my computer? What would my Nameserver be then?
 
Old 07-27-2004, 09:30 AM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
DNS=Domain Name Server = Nameserver.

Is apache installed? If so, try going to http://localhost/ and see if you get to somewhere. The documentroot is probably in /var/www/.
 
Old 07-27-2004, 09:40 AM   #3
aarond
Member
 
Registered: Jul 2004
Posts: 36

Original Poster
Rep: Reputation: 15
reply

In my browser I tried both:

http://localhost/

http://localhost/ var/www/

and got the message " the connection was refused " so I take it this means apache is off on my box? How do I turn the server on on a Linux box?

Thanks,

Aaron
 
Old 07-27-2004, 09:43 AM   #4
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
If apache is installed, then
/etc/init.d/apache start
If not, then install it first.
 
Old 07-27-2004, 09:48 AM   #5
aarond
Member
 
Registered: Jul 2004
Posts: 36

Original Poster
Rep: Reputation: 15
reply

It is not in there I'll will have to install it, my Mac OS X came with apache installed and the copy of Fedora was one that came out of a very recent printing of a "Wiley" book on Fedora Core so I had thought that it would have been installed w/ it.

Thanks for your help . . .

Aaron
 
Old 07-27-2004, 02:07 PM   #6
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
To see if package apache is installed:
'rpm -q apache'
To see if daemon httpd is running:
'chkconfig --list httpd'
To start daemon:
'service httpd start'
To start daemon at boot(for runlevels 3,4,5 in this case)
'chkconfig --levels 345 httpd on'

The default DNS nameserver for Fedora is called 'bind', it's daemon is called 'named'.

Neither will do much without configuration, but that's another kettle of fish.

Last edited by RHELL; 07-27-2004 at 02:10 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
DNS server on Fedora Core 3 mediocrity Linux - Networking 16 04-11-2005 09:56 AM
DNS Server problem in Fedora Linux linux_rookee Linux - Networking 2 11-14-2004 11:29 PM
Setting up a DNS server under Fedora trentham Linux - Networking 6 09-01-2004 02:17 AM
Fedora DNS server ejbest Linux - Newbie 3 08-15-2004 12:13 PM
On Fedora Core 2 what DNS server am I using? jlepich Linux - Networking 2 06-22-2004 05:26 PM

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

All times are GMT -5. The time now is 02:04 AM.

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