From 4394a3fa903c57f2d7c1f1e4c27f521d20eefcf2 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sun, 21 Apr 2019 08:25:11 +0000 Subject: [PATCH] Why does my machine think its name is localhost even though I changed it? --- ...its-name-is-localhost-even-though-i-changed-it.html | 10 ++++++++++ index.html | 1 + ...k-its-name-is-localhost-even-though-i-changed-it.md | 10 ++++++++++ markdown/index.md | 1 + 4 files changed, 22 insertions(+) create mode 100644 2006-01-22-why-does-my-machine-think-its-name-is-localhost-even-though-i-changed-it.html create mode 100644 markdown/2006-01-22-why-does-my-machine-think-its-name-is-localhost-even-though-i-changed-it.md diff --git a/2006-01-22-why-does-my-machine-think-its-name-is-localhost-even-though-i-changed-it.html b/2006-01-22-why-does-my-machine-think-its-name-is-localhost-even-though-i-changed-it.html new file mode 100644 index 0000000..143daad --- /dev/null +++ b/2006-01-22-why-does-my-machine-think-its-name-is-localhost-even-though-i-changed-it.html @@ -0,0 +1,10 @@ + + + + + +

Edit /etc/hosts. Find the line with your chosen hostname on it. That’s what your machine considers its primary IP. What’s the first hostname on the line? Yeah, thought so.

+ +

/derf-question

+ + diff --git a/index.html b/index.html index 2763606..47e7f6c 100644 --- a/index.html +++ b/index.html @@ -40,6 +40,7 @@
  • 2009-Sep-11: Confusing BIND with CNAMEs
  • 2009-Feb-19: The odd case of my mugging
  • 2009-Feb-03: 5-packet TCP connection?
  • +
  • 2006-Jan-22: Why does my machine think its name is localhost...
  • 2006-Jan-22: Flashing without Microsoft or floppy drives
  • diff --git a/markdown/2006-01-22-why-does-my-machine-think-its-name-is-localhost-even-though-i-changed-it.md b/markdown/2006-01-22-why-does-my-machine-think-its-name-is-localhost-even-though-i-changed-it.md new file mode 100644 index 0000000..728896b --- /dev/null +++ b/markdown/2006-01-22-why-does-my-machine-think-its-name-is-localhost-even-though-i-changed-it.md @@ -0,0 +1,10 @@ + + + + + +Edit /etc/hosts. Find the line with your chosen hostname on it. That’s what your machine considers its primary IP. What’s the first hostname on the line? Yeah, thought so. + +/derf-question + + diff --git a/markdown/index.md b/markdown/index.md index 2d6fda8..4ded5a8 100644 --- a/markdown/index.md +++ b/markdown/index.md @@ -39,6 +39,7 @@ 1. 2009-Sep-11: [Confusing BIND with CNAMEs](2009-09-11-confusing-bind-with-cnames.html) 1. 2009-Feb-19: [The odd case of my mugging](2019-02-19-the-odd-case-of-my-mugging.html) 1. 2009-Feb-03: [5-packet TCP connection?](2009-02-03-5-packet-tcp-connection.html) +1. 2006-Jan-22: [Why does my machine think its name is localhost...](2006-01-22-why-does-my-machine-think-its-name-is-localhost-even-though-i-changed-it.html) 1. 2006-Jan-22: [Flashing without Microsoft or floppy drives](2006-01-22-flashing-without-microsoft-or-floppy-drives.html)