Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 Please help me.

Thanks, Raj

share|improve this question

migrated from Oct 18 '10 at 16:30

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

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

Your Answer


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