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
Solved

hostname,doman,domainame

Posted on 2003-11-10
3
912 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
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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

829 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