Forum Moderators: phranque

Message Too Old, No Replies

Installation: Apache Server 2.0.54

         

RobinR

5:14 pm on Aug 12, 2005 (gmt 0)

10+ Year Member



When Installing Apache on your home computer which has Windows, the Installation Wizard asks for

Network Domain
Server Name

I would imagine that the Network Domain would have the value

localhost

but would value should you use for Server Name?

Thanks,

Robin

coopster

3:19 am on Aug 13, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, RobinR.

The [ServerName [httpd.apache.org] directive sets the hostname and port that the server uses to identify itself.

RobinR

11:41 am on Aug 13, 2005 (gmt 0)

10+ Year Member



Coopster,

According to the Apache Documentation:

If no ServerName is specified, then the server attempts to deduce the hostname by performing a reverse lookup on the IP address. If no port is specified in the ServerName, then the server will use the port from the incoming request. For optimal reliability and predictability, you should specify an explicit hostname and port using the ServerName directive.

What if you're using a dial-up connection and you don't have a permanent IP address. Should you be entering a Server Name then and what should it be?

Robin

coopster

3:40 pm on Aug 15, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



In order to access from the *outside* world through your firewall you will have to move the server to the DMZ and either have a static IP from your ISP or you can use a dynamic IP service.

For internal access only, like a test server for yourself, you can run it right on your own machine and use 127.0.0.1