I need help. Currently I am using Ubuntu Apache server with PHP. My server name is some rt-arr-php. I want to change it to rtapp.arr.edu Please help me.

Thanks, Raj

link|improve this question
Belongs on serverfault. – Adam Crossland Oct 18 '10 at 16:25
feedback

migrated from stackoverflow.com Oct 18 '10 at 16:30

This question came from our site for professional and enthusiast programmers.

1 Answer

  1. echo "rtapp.arr.edu" > /etc/hostname
  2. /etc/init.d/hostname restart
  3. add "127.0.0.1 rtapp.arr.edu rtapp" in /etc/hosts
  4. if use serveraname/serveralias directive in apache, change it
  5. if use postfix: echo "rtapp.arr.edu" > /etc/mailname
link|improve this answer
feedback

Your Answer

 
or
required, but never shown