Re: httpd help??


Subject: Re: httpd help??
From: Chris Ruprecht (chrup@earthlink.net)
Date: Sun May 27 2001 - 20:03:34 MDT


>I would like to set this up for private testing. I do web design,
>and this would help tremendously. As opposed to paying for an account
>with an ISP, dealing with moron tech support people, and then testing
>a site out.

Sean,

usually, you would assign a name to your machine using some DNS
services, but, if you're like me, on a cable modem or a DSL, then you
probably have some crazy name and a different IP address, every time
you boot.

Therefore, to get apache running, have a look into httpd.conf which
would be in /etc/httpd/conf.

Find the place where it says "ServerName" and uncomment it and call
your machine www (for example). Here is the section from my box
(which is named after the island my wife is from):
--- begin ---
#
# ServerName: allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e., use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
#
ServerName bohol
--- end ---

Best regards,
Chris

-- 
--
Chris Ruprecht
Network grunt and bit pusher extraordinaíre



This archive was generated by hypermail 2a24 : Sun May 27 2001 - 19:09:39 MDT