PDA

View Full Version : Domain Name


rlhesson
22nd March 2007, 23:46
Could someone please tell me where I should look for my domain name for my server (what files). I found it in /etc/hosts but where else is it listed?

Reason I am asking is I want to change it to a different domain name. I am running centos 4.4

Hans
23rd March 2007, 08:42
You need to define your hostname again as mentioned within Falko's "Perfect setup".
When you have done so, you can verify the new hostname with the command hostname -f
Make sure that the IP-address of your server belongs to the new hostname.

You also need to redefine within ISPCOnfig under Management > Server > Settings.

rlhesson
23rd March 2007, 16:24
I was getting unknown host at first. I followed this tutorial and got it working

http://www.cpqlinux.com/hostname.html