Sign up ×
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 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 Answer 1

  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.