View Single Post
  #1 (permalink)  
Old 21-12-2007, 09:08
Pandacoder's Avatar
Pandacoder Pandacoder is offline
Junior Member
 
Join Date: Dec 2007
Posts: 16
Default Default server name

Hi,

I have a new dedicated Linux server (Centos 5). All setup and running fine. I have some php scripts running under crontab for various processes I need to monitor on our sites.

The php scripts produce output which as expected I receive in an email from root on the server which works fine.

BUT - the email 'from' address is root@is-3310.example.com.

1. How do I change the server's name from is-3310 (if possible/not important as is)?
2. How do I change the server's default domain from example.com to mydomin.com?

I have looked at php.ini, httpd.conf and at sendmail's configuration but cannot find example.com to change.

I don't need support to 'do' anything! I would like to know 'how to' so that I can learn a bit more as I do it.

Thank you for any help or pointers.
__________________
$wisdom = array('knowledge', 'patience', 'experience', 'compassion', 'sympathy', 'humour', 'courage', 'tolerance', 'humility', 'Linux');
Reply With Quote