Ken Schneider - openSUSE wrote:
On 06/11/12 10:45, James Hatridge pecked at the keyboard and wrote:
OK, its been a long time since I've set this up and I must be missing something.
This is my host file:
192.168.0.101 warthog.de warthog
But when I try to use FF to go to warthog or warthog.de it times out. When I use www.warthog.de I get some odd dating site.
Since you apparently do not own the domain come up with one that is not. Then it should work.
It's not relevant if he owns the domain or not. If he has the cited entry in his hosts file, access to warthog should work. Changing the name will *not* make it work, James needs to analyze the problem instead. (For that, see my previous email.) In fact, adding host entries for hosts in domains that one doesn't own is a well-known technique to shortcut traffic to these hosts.
Also the entry needs to be in the format of:
<IP address> FQDM ALIAS
Example:
123.456.789 webmachine.domain.com webmachine
Ahem, technically no. You probably know that, but I want to mention it for the archives. The format is IP_address name1 [name2 ...] -- You can have as many names on the line as you want. -- Only one name is needed. Adding an alias is not mandatory. -- The first name is not necessarily the fully qualified domain name (FQDN), though it's custom to do so. To have a short name first, an arbitrary dotted name second, and than the FQDN is equally valid. That's because FQDN is a concept from DNS that doesn't exist in a hosts file. That leads to: -- Names can have as many or as few periods in them as you want. They don't need to refer to any domain in DNS or so. As long as the contain only alphanumeric characters, minus signs, and periods, they are valid. Just my 0.03 EUR (adjusted for inflation ;-)) Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod, Roedermark, Germany Email: jschrod@acm.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org