On Thu, Jun 16, 2011 at 4:21 AM, Jochen Schulz <m...@well-adjusted.de> wrote: >> >> I've been having a problem where when our vps provider decides to >> restart the server (running Debian 5.0.8), the server fails to >> remember changes to /etc/hosts. All I need is an database alias that >> is used for the webapps on the server which points to 127.0.0.1 >> localhost. > > I don't know what keeps overwriting your file, but I assume it actually > just re-writes a single line for localhost. Try adding a new line > pointing to "database" like this and see if that persists: > > 127.0.0.1 database
NM adds a line associating the DHCP-assigned address with the box's hostname. The 127.0.0.1 line doesn't change. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktin1nhzqzpu5noj-3x6cghqb7p3...@mail.gmail.com