New domain name

Discussion in 'Installation/Configuration' started by pebkac, Feb 17, 2010.

  1. pebkac

    pebkac Member HowtoForge Supporter

    Hey all,

    Long story short, I had to get a new domain name, sucks! Anyway, my old domain is located all over my server. For instance:
    [email protected]:/etc/ssh# hostname
    How do I go about changing that to reflect my new domain name???? I know there is more than 1 place it needs to be done also???
  2. Mark_NL

    Mark_NL Member

    Well i think it's a classic pebkac ;-)

    You could do a file content search for the string and edit those files.
    Good luck!
  3. frument

    frument New Member

    Sounds like a lot of fun!

    Try this:
              grep -R /etc > results1.txt
              grep -R /var/www > results2.txt
    change each instance of to

    To change your host name:

    edit your host file:

     vi /etc/hosts
    Hope this helps

  4. pebkac

    pebkac Member HowtoForge Supporter

    Anyone else have any ideas on this, and what I might expect with regards to problems by doing this?
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Please do what frument suggested.

Share This Page