View previous topic :: View next topic |
Author |
Message |
fosstux Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1026303592474ab97e4cba4.gif)
Joined: 01 Oct 2002 Posts: 274 Location: Vienna, Austria
|
Posted: Fri Oct 15, 2004 8:21 pm Post subject: Question On FQDN |
|
|
Hi!
On my server I've got quite a few servers running:
- Apache (for 9 sites)
- mysql + Postgres
- SSHD
- EJabberD
- Postfix/Courier
- and soon O_penLdap/Tomcat for openXchange
for alltogether 3 Domains. What is the correct way to name my host in /etc/hostname, /etc/dnsdomainname and /etc/hosts?
Please help.
Thanks. _________________ Windows = a 64 bit rewrite for a 32 bit extension to a 16 bit GUI on an
8 bit OS written for a 4 bit architecture by a 2 bit company who can't
stand 1 bit of competition. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bombcar Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Herman_Toothrot.gif)
Joined: 08 Apr 2003 Posts: 453 Location: Wisconsin
|
Posted: Fri Oct 15, 2004 8:47 pm Post subject: |
|
|
Pick one domain name to be the real one, all the rest are virtual.
/etc/dnsdomainname
/etc/hostname
/etc/hosts
Code: |
127.0.01 localhost localhost.localdomain
|
That's it. The rest of the domains will be served through DNS. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|