logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: why is it not apache accepting my server name?
Author
amishera



Joined: 01 Apr 2010
Posts: 2

PostPosted: Thu 01 Apr '10 23:23    Post subject: why is it not apache accepting my server name? Reply with quote

During installation it asked for some server name and I gave the following name which doesn't exist:

bip.ad.unc.edu

And after installation I tried to access the server using the above name but it does not resolve the request. Then what is the point of server name? Also it accepts localhost. But I searched the whole installation directory but couldn't find any single file that contains the text 'localhost'. How does it recognize localhost even though my computer's name is not localhost.

Thanks.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 02 Apr '10 1:28    Post subject: Reply with quote

ServerName

ServerName MUST be a fully qualified domain, or an IP.
You can comment it out and Apache will choose an IP for you.
It will tell you what it is using as well.

Every Windows computer has localhost. It is defined in
C:\Windows\System32\drivers\etc\hosts file

By default Apache will listen on port 80 of all IP addresses availabe on the computer. Because of that, Apache answers to localhost.

This should be read by you
http://httpd.apache.org/docs/2.2/platform/windows.html

then go through the "Users' Guide"
http://httpd.apache.org/docs/2.2/

You can skip "Suexec Execution for CGI" of the Users' Guide since that is a Unix only thing. Keep in mind that there are a few "Unix Only" things in Apache.
Back to top


Reply to topic   Topic: why is it not apache accepting my server name? View previous topic :: View next topic
Post new topic   Forum Index -> Apache