LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-27-2002, 06:20 PM   #1
N_A_J_M
Member
 
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 www.tldp.org )

cheers
 
Old 11-27-2002, 06:55 PM   #2
Javahead2000
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.

http://www.redhat.com/docs/manuals/l...started-guide/

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.
127.0.0.1 localhost
192.168.0.60 scarface.mydomain.com scarface


I hope this helps.
 
Old 11-27-2002, 07:14 PM   #3
Javahead2000
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:

domain mydomain.com
nameserver 1.2.3.4
nameserver 4.3.2.1


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


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 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 02:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration