The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Changing Hostname question

Discussion in 'General Discussion' started by techark, Jul 4, 2002.

  1. techark

    techark Well-Known Member

    Joined:
    May 22, 2002
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    16
    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?
     
  2. avara

    avara Well-Known Member

    Joined:
    Oct 28, 2001
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
Loading...

Share This Page