Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Question On FQDN
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
fosstux
Apprentice
Apprentice


Joined: 01 Oct 2002
Posts: 274
Location: Vienna, Austria

PostPosted: Fri Oct 15, 2004 8:21 pm    Post subject: Question On FQDN Reply with quote

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
View user's profile Send private message
bombcar
Guru
Guru


Joined: 08 Apr 2003
Posts: 453
Location: Wisconsin

PostPosted: Fri Oct 15, 2004 8:47 pm    Post subject: Reply with quote

Pick one domain name to be the real one, all the rest are virtual.

/etc/dnsdomainname

Code:

domainname.net


/etc/hostname

Code:

machine


/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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum