Solved

hostname,doman,domainame

Posted on 2003-11-10
3
914 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

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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.:
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.

690 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