Results 1 to 2 of 2

Thread: Test server convert to production, Hostname issues

  1. #1
    Join Date
    May 2007
    Anchorage, Alaska
    Ubuntu 9.10 Karmic Koala

    Test server convert to production, Hostname issues

    Howdy folks quick question probably.

    I've got an old server about to be replaced by a newer server. The old one is, the new one was being tested on a test subdomain as

    I changed /etc/hosts and /etc/hostname to reflect the cnage on the new server and also glanced through bind, resolv, and network settings to check for changes needed. When I log in I see the old name, but if I ping it resolves to itself as it should.

    Any idea why I see the old name at the log in? It seems cosmetic, but where to I change it?

  2. #2
    Join Date
    Jun 2006
    Louisville, KY
    Ubuntu 9.04 Jaunty Jackalope

    Re: Test server convert to production, Hostname issues

    My first thought is that you need to use the "hostname" command while the machine is running. I'm pretty sure the /etc/hostname file is only read at boot time. DNS is resolving correctly because you've changed /etc/hosts. So type the following, then log out and back in and see what it does:

    hostname mail



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts