Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-17-2003, 01:13 PM   #1
LQ Newbie
Registered: Sep 2003
Posts: 9

Rep: Reputation: 0
Question Hostname and apache

Hi !

Im sitting on a LAN with a Internet connection through a router and using a dhcp server for internal IPs.
I have no domian name.

If i set the hostname (running RH9) on my "server" to something like myserver. Apache will fail to start after a reboot, and saying something like that the server doesnt have that hostname.

What can i do to make it work ?
Old 10-17-2003, 01:36 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 252Reputation: 252Reputation: 252
Are you running a webserver at all? If not, just disable apache from running at all.. so its not wasting resources, etc.
If you are running apache, have you tried editing httpd.conf to reflect it to have the same host name or domain name?

Old 10-19-2003, 05:53 AM   #3
LQ Newbie
Registered: Sep 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Yes i have set the httpd.conf.
(Yes im running the webserver why else would i ask ?)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
hostname changed, but apache signature still showing the old one... spmet Mandriva 3 05-16-2005 03:27 AM
Apache domain and hostname bcom Linux - Software 0 05-27-2004 03:35 PM
Apache doesn't work after hostname change Brother Michael Debian 2 05-12-2004 07:12 PM
How to make Apache show different hostname? mac_phil Linux - Software 2 05-11-2004 01:03 PM
apache refuses to start after hostname change Mux Linux - Software 3 02-01-2004 02:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration