Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-27-2002, 06:20 PM   #1
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Rep: Reputation: 30
Question domain & ip address

Can someone please tell me where (or what command) to set what domain my computer is on?

what i am trying to do is install linux on another computer via nsf install.

So i am setting up my other pc which is running redhat 7.2 with gnome as an nfs server, but up until now all i have known is windows crap like: domain controller and active directory, well im sure you know the rest. Now i want to set up a linux server instead of a windows server (domain controller)

thats why i need to know how to assign what domain i am on and my ip address. im pretty sure i have the nfs side sussed (i downloaded all the howtos on )

Old 11-27-2002, 06:55 PM   #2
LQ Newbie
Registered: Nov 2002
Location: Pennsylvania, USA
Distribution: Redhat Linux 8
Posts: 11

Rep: Reputation: 0
I suggest perusing the RedHat website. There is lots of useful information there. Each distro has an online manual with common configuration Q&A's.

My question is - are you trying to setup a Windows "domain" on this new system? Or are you trying to configure the systems FQDN (Fully Qualified Domain Name)?

If you are trying to actually set the FQDN, there should be a GUI in GNOME to let you do that, or you can edit the '/etc/hosts' file manually. Be sure to make a backup of any file you edit before you hack away, just in case

An example /etc/hosts file:

# Do not remove the following line, or various programs
# that require network functionality will fail. localhost scarface

I hope this helps.
Old 11-27-2002, 07:14 PM   #3
LQ Newbie
Registered: Nov 2002
Location: Pennsylvania, USA
Distribution: Redhat Linux 8
Posts: 11

Rep: Reputation: 0
Oops. Also forgot to mention 'resolv.conf'

An example /etc/resolv.conf file:


Of course, you would put your real primary and secondary DNS servers in the place of '' and '', and your domain after the 'domain' line.


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 domain address FUXC Linux - Networking 5 03-15-2005 12:42 PM
IP address to domain name mapping htm Linux - Software 0 06-20-2004 08:16 PM
illegal use of my domain address Lui Linux - Security 9 06-17-2004 06:36 PM
kppp not able to translate Domain Name to IP address Pico_01 Linux - General 1 02-25-2004 05:18 PM
Using a domain name instead of ip address for my website??? oulevon General 9 08-10-2001 05:22 PM

All times are GMT -5. The time now is 09:32 PM.

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