[leafnode-list] Re: FQDN v. localhost

Michael Mauch michael.mauch at gmx.de
Wed Aug 29 01:19:50 CEST 2007


Thufir wrote:

> ve registered the FQDN of <arrakis.doesntexist.org> through <http://
> www.dyndns.com/> as per <http://leafnode.sourceforge.net/doc_en/README-
> FQDN.html>.  However, I want to still be able to go to <http://localhost/
> phpmyadmin/>.  The FQDN is strictly for leafnode.
> 
> I'll also be installing <http://code.google.com/p/feed-on-feeds/>, which
> I also want to put on <http://localhost/> rather than the FQDN.
> 
> Apache 2, MySQL and phpMyAdmin are currently working fine with the
> localhost name, and I don't want to break this.
> 
> Going by <http://gentoo-wiki.com/TIP_Setup_Your_FQDN> it mentions to
> configure the /etc/conf.d/hostname file.  For my purposes, how should
> this file be configured?

> I should configure the box so that it uses a FQDN, for leafnode, then 
> configure apache so that localhost also works?

Don't worry about the localhost name - it works in addition to your
FQDN. So you can just set

HOSTNAME="arrakis"

in /etc/conf.d/hostname and

OVERRIDE=1
DNSDOMAIN="doesntexist.org"

in /etc/conf.d/domainname (or use /etc/conf.d/net, like the gentoo-wiki
says) and the IP address and FQDN in resolv.conf:

127.0.0.1       localhost
192.168.1.2	arrakis.doesntexist.org
# or whatever private IP your host has

Regars...
		Michael




More information about the leafnode-list mailing list