httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject Re: [users@httpd] Apache ServerName directive
Date Mon, 03 Jan 2005 13:57:41 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Farid Haibatan wrote:
| Hi all,
|
| I have a static IP address 212.18.xxx.xxx
|
| My webserver apache (1.3 something) is running on a
| debian system.
|
| I do not have a domain name. Should the servername
| directive in the apache config file be set to my WAN
| address 212.18.xxx.xxx or my servers internal LAN
| address 192.168.0.4 ?

It should be set to whatever users will type into their browser address
bar to visit your site. Presumably, that means if your site is accessed
externally, it should be set to the external address, and if internally,
the internal address. If both, set it to the external one, and also set
"UseCanonicalName Off"

- --
Rich Bowen - rbowen@rcbowen.com
Author - Apache Server Unleashed - http://www.apacheunleashed.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB2U9UXP03+sx4yJMRAlA2AKCusWyLYiT6LMc/CrgY6QDGtS4K9gCfaekP
8XFf/P9aBz+Y2D5Z0u8IHDA=
=2Jde
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message