3
votes
2answers
106 views

Why not assign the hostname to the loopback address in /etc/hosts?

So I understand that the hostname should (at least in Debian systems) be set in /etc/hostname. To get the FQDN (through hostname -f) the system finds the IP from the hostname through /etc/hosts and ...
0
votes
2answers
866 views

Modifying /etc/hosts to easily access a domain name (or ip address) for amazon EC2 instance

I previously added into my local(Mac OS x 10.6) /etc/hosts file my server's public ip something like this: 123.123.123.123 myServer to allow me to ssh to myServer without having to remember the ip ...
1
vote
2answers
98 views

What if I follow Oracle Instructions for hostname [duplicate]

Oracle Docs requiring Hostname to be FQDN. What do you think? Not really what I want to do but... should I? Verifying Host Names Use the following to verify host name settings: For Oracle Linux 4 ...
0
votes
3answers
165 views

Use SSH hostname aliases in browser

I set up hostname aliases in .ssh/config, which works great: Host my-web HostName 515.346.96.21 So I can do this: ssh my-web But in a browser, I still need to type in "http://515.346.96.21". ...
0
votes
1answer
129 views

hostname and hostname -f are backwards?

When I run the command hostname (on Ubuntu 10.04 LTS Server) it returns 'mail.mydomain.com' When I run hostname -f I get 'mail' as a response. These seem backwards to me, shouldn't hostname -f ...
0
votes
2answers
202 views

Should a server's hostname have a DNS A record?

I have a VPS which is currently serving 2 websites and a game server. The "primary" website - my website - is robinjam.net. I've read multiple conflicting tutorials on the internet regarding ...
2
votes
2answers
1k views

user version of /etc/hosts

I am a user on a Solaris 10 system and I wish to maintain my own version of /etc/hosts. This file will function like a normal /etc/hosts, except it will only resolve hosts from processes that I run. ...
0
votes
2answers
540 views

Is a matching entry in /etc/hosts required for hostname?

I was installing a Tomcat webapp that refused to work until I stumbled on someone else's issue with an unrelated product. The solution was to add the machine's name to /etc/hosts, to match the name ...