Solved

hostname,doman,domainame

Posted on 2003-11-10
3
913 Views
Last Modified: 2010-04-20
please some one inform me what i need to set up on this hostname,doman,domainame while installing the system?...let says my company name is ABC and has a we url at ABC.COM.....so what is the proper way to set the name so in future i can set the mail server...
0
Comment
Question by:learner79
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Expert Comment

by:td_miles
ID: 9719617
I'm not sure if the question you are asking is how to set the hostname of the server. If it is, then it will probably depend on which Linux distro you are using (RedHat, Mandrake, Suse, debian, etc).

For Redhat, edit the file "/etc/sysconfig/network" and change the HOSTNAME parameter to be what you want your computer to be called.
0
 

Author Comment

by:learner79
ID: 9719627
Redhat
0
 
LVL 12

Accepted Solution

by:
paullamhkg earned 20 total points
ID: 9720029
there is serveral files you will going to add those info depending what you need. the normal files are

/etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.0.1           servername.abc.com    servername
127.0.0.1               localhost.localdomain localhost

/etc/sysconfig/network

NETWORKING=yes
HOSTNAME=servername.abc.com
GATEWAY=192.168.0.254

and if you have the sendmail, in the /etc/mail/sendmail.cf will also need to put your domainname into it

#####  $Id: accept_unresolvable_domains.m4,v 8.10 1999/02/07 07:26:07 gshapiro E
xp $  #####
Cwabc.com
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unix process listing into CSV format 3 53
AWS Central Authentication 1 103
Samba Question 11 107
how to include conditional log rotate in liunx. 17 72
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question