> -----Original Message----- > From: Ryan McDougall [mailto:mcdougrs@yahoo.com] > Sent: Thursday, December 12, 2002 12:35 PM > To: RedHat 8.0 Psyche > Subject: Hostname help > > > Hello everyone, > > I know that this is a pretty basic issue and I may be making > too much of it, > but I was wondering about setting my hostname, especially > with the hostname > command (I figure that sets whatever needs to be set, but if > not please let me > know if there is another CLI command/program to do it). Let > me give you some > background before I delve into my questions. I have 2 > computers behind a > Netgear MR314 router, the 2 pcs can talk to each other... I > can ssh into my > RH8.0 box but I cannot see my webpage, because it did not > start due to fully > qualified domain issues. My specific questions are about the > fully qualified > name, how to set it behind this firewall and which files need > to be edited? I > have dhcp so how do I but a line in the /etc/hosts file? Simply edit /etc/sysconfig/network file. Change the HOSTNAME= line to your FQDN. e.g. HOSTNAME=foobar.foo.com, foo.com is your domain and foobar is your hostname. Also, change your the hosts file to also reflect the FQDN. With DHCP, you will need to put the IP address in there that is dynamically assigned to you. Another alternative is to specify your ServerName in /etc/httpd/conf/httpd.conf, but I prefer changing your hostname via the network file. After the change, reboot, do a hostname, and you should see the FQDN you set it too. JMF -- Psyche-list mailing list Psyche-list@redhat.com https://listman.redhat.com/mailman/listinfo/psyche-list