You seem to be confusing /etc/conf.d/hostname with /etc/hosts.
If you want different content to be served from localhost as opposed to
another fqdn, then just setup virtualhosts in apache.
Thufir wrote:
I'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 ~ #
thanks,
Thufir
--
[EMAIL PROTECTED] mailing list