/etc/hosts is your place. But I must ask what are you setting it for? Your mailserver will have its own config file (/etc/exim/exim.conf for default) as will apache (/etc/apache/httpd.conf) with unique syntax. Here's my /etc/hosts
Code:
[ken:ken](09:26 PM)$ cat /etc/hosts
127.0.0.1 llamakc localhost
xxx.xxx.xxx.xxx llamakc llamakc.org
192.168.0.103 uma
192.168.0.101 polly
128.186.86.136 skoolio
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
I used xxx.xxx.xxx.xxx b/c I'm on a dynamic IP and it friggin' rotates all the time. I don't actually have that entry in my /etc/hosts though. I included it as an example.
Unless you run your own dns servers you won't need to config it, your FQDN needs to be on your name servers, and your services set up to respond properly.
Do you have a more specific question?