Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

share|improve this question

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

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

1 Answer 1

  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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.