LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   newbie setting up dns with fedora 3 (https://www.linuxquestions.org/questions/linux-newbie-8/newbie-setting-up-dns-with-fedora-3-a-253225/)

delphipgmr 11-10-2004 09:43 AM

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!

JimBass 11-10-2004 10:54 AM

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

delphipgmr 11-10-2004 11:10 AM

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)

rjlee 11-10-2004 11:28 AM

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.)

delphipgmr 11-10-2004 12:23 PM

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.


All times are GMT -5. The time now is 01:57 PM.