[leafnode-list] FQDN v. localhost

Thufir hawat.thufir at gmail.com
Mon Aug 27 22:26:22 CEST 2007


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?

localhost ~ #
localhost ~ # cat /etc/conf.d/hostname
#HOSTNAME="livecd"
#HOSTNAME="localhost arrakis.doesntexist.org"
#HOSTNAME="arrakis.doesntexist.org"
HOSTNAME="localhost"
localhost ~ #
localhost ~ # date
Sun Aug 26 19:05:11 PDT 2007
localhost ~ #



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



thanks,

Thufir





More information about the leafnode-list mailing list