File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Apache Configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Apache Configuration" Watch "Apache Configuration" New topic

Apache Configuration

Tanveer Mehmood
Ranch Hand

Joined: Feb 23, 2001
Posts: 51
Hi buddies,
I installed apache, edited httpd.conf with servername "localhost" but when i run this "apache.exe" it gives me error.
c:\proram files\apache group\apache\apache
httpd: cannot determine to server local host name
Use sername to set it explicitly
An earliest reply required please.
Ganesh Anekar
Ranch Hand

Joined: May 13, 2001
Posts: 36
As u r using windows 98 check that u have installed network card in u r system...if not then install it and set the system name i.e. set name to u r system...
THEN the server
Its very easy...check it...
Sandeep Jain
Ranch Hand

Joined: Oct 25, 2000
Posts: 124
goto conf directory inside the apache directory
Open the file httpd.conf
Look for some statement give either ur host name or ip address there and revove the
# ServerName somstatement
serverName hostname
restart the apache it will work fine

Try and Try Till u succeed<br /> <br />Sandeep Jain
I agree. Here's the link:
subject: Apache Configuration
It's not a secret anymore!