LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2004, 10:43 AM   #1
delphipgmr
LQ Newbie
 
Registered: Nov 2004
Location: Florida
Posts: 13

Rep: Reputation: 0
newbie setting up dns with fedora 3


hi,

If i get this working, i can be off of windows completly.

I figured out how to use the HTTP configuration tool in fedora 3
(start/system settings/server settings/http )

now i just need to get DNS working.
Im sure it simple, but its not the same as windows dns.

using (start / system settings/Sever settings/dns)

I figured out to start named, i just cant seem to configure a web site for local host (Im trying to do multiple domains, since i am a develper i need to keep a few domains here).

is there a step-by-step to do it? or can someone walk me thru one?

I want to use 127.0.0.1.

PLEASE help a windows guru convert!
 
Old 11-10-2004, 11:54 AM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Things seem somewhat confused in your post. This may help you -

Named is the DNS functionality, what you would use to run a DNS server on your linux box.

The file /etc/resolv.conf is where you can specify what DNS server to use for your internet connection.

Getting a website running on localhost is not an issue of DNS, but if you have a webserver running on the machine. The most popular webserver in the world is apache. It will run beautifully on your fedora Core 3 box. If apache is installed and running, opening http://127.0.0.1 or http://localhost will bring up whatever you have in the webroot, which is located by default to /var/www/html/, and of course can be moved anywhere else if you prefer.

Post back if you are having additional problems.

Peace,
JimBass
 
Old 11-10-2004, 12:10 PM   #3
delphipgmr
LQ Newbie
 
Registered: Nov 2004
Location: Florida
Posts: 13

Original Poster
Rep: Reputation: 0
no, i got httpd configured correctly for virtual hosts.

im just trying to make up a fake domain name for development..

like make www.thisisatestdomain.com to point to one of the virtual domains.

if i where using windows 2000, dns, i would go into dns, setup a domain, add a host (www) , point it to 127.0.0.1

then in iis have it resolve the name www.domain.com to the proper directory (I have this part working in fedora)

im thinking maybe that graphic interface doesnt work yet in fedora, i know in core 2 the http one didnt (but it does now)
 
Old 11-10-2004, 12:28 PM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
The easiest way to add fake domains, if you're only going to access them from the local computer, is to add them to your /etc/hosts file. If they're in there, then you don't even need named running; it will override any other hostnames. (This is also a useful way to get rid of banner ads from webhosts; just specify the wrong IP address for them in /etc/hosts.)
 
Old 11-10-2004, 01:23 PM   #5
delphipgmr
LQ Newbie
 
Registered: Nov 2004
Location: Florida
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks!

You dont know how much time that just saved me.

I created a "live" and a "fake" hosts file, and wrote a little shell script to copy it to the hosts file.

now to work on the live internet, i just click an icon, to work on my develoment ones, i click another.

in window, i had to change dns server and reboot.


im liking this fedora alot. Finally a real replacement for windows.
 
  


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
setting up DNS Tamara Linux - Newbie 4 04-05-2005 09:14 AM
help setting DNS itabarau Linux - Newbie 3 02-04-2005 12:29 PM
Setting up a DNS server under Fedora trentham Linux - Networking 6 09-01-2004 03:17 AM
newbie setting up DNS host statmobile Linux - Networking 3 05-19-2004 10:10 PM
Setting up DNS Mneumonic Linux - Software 1 03-14-2003 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration