cancel
Showing results for 
Search instead for 
Did you mean: 

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
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??