Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Changing Hostname question

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

  1. techark

    techark Well-Known Member

    May 22, 2002
    Likes Received:
    Trophy Points:
    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 I want to change it to the primary name servers are the same 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 like a name server first so I will do that.
    BTW the new 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

    Oct 28, 2001
    Likes Received:
    Trophy Points:
    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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice