1748019 Members
4354 Online
108757 Solutions
New Discussion юеВ

Re: domain name

 
SOLVED
Go to solution
Mark Mitchell
Trusted Contributor

domain name

I get a message on boot up that the server can't qualify its own domain name so it uses it short name. How do you set this up?
3 REPLIES 3
unixdaddy
Trusted Contributor
Solution

Re: domain name

edit the /etc/mail/sendmail.cf and change the line that reads:-

#Dj$w.Foo.COM
to
Dj$w.domaminname

or

edit your host file and put a '.' after your hostname

i.e.

140.100.100.100 peter.

Mark Mitchell
Trusted Contributor

Re: domain name

I got it to work with
xxx.xxx.xxx.xxx name name.
otherwise there were some errors.
Thanks
Joseph C. Denman
Honored Contributor

Re: domain name

check you /etc/nsswitch.conf. Have it go to files first then dns.

If still have a problem, you could put an alias in the hosts file.

xxx.xxx.xxx.xxx hostname hostname.domain.com
If I had only read the instructions first??