techark

Well-Known Member
May 22, 2002
277
0
316
Can I change the hostname, with out affecting the sites on that server?

What I am wanting to do is this: The current hostname is xxxx.yyyyy.com I want to change it to xxxx.zzzz.com the primary name servers are the same ns.yyyy.com as the host name will changing just the hostname leaving the primary name servers as is affect the current accounts? I know that I have to register the name xxxx.zzzz.com like a name server first so I will do that.
BTW the new zzzz.com is an IP based account so will this affect anything also?

What I am trying to do is become more hidden so that mail headers etc do not trace back to my host name for resellers.

Anyone had any experience doing this?
 

avara

Well-Known Member
Oct 28, 2001
89
0
306
Yes, you can change the hostname at any time. However, in my experience it is best to change it through the command line.

Also bear in mind that you might want to recompile PHP after doing this, as it may still show the old hostname if you don't.