If apache is just running on your home network (or just for a single Linux computer), set ServerName to be the IP address of your box, like so:
# On a home network
ServerName 192.168.0.15
# Or, just for itself
ServerName 127.0.0.1
# Or, just for itself
ServerName localhost
Choose an appropriate ip for home network, if that is your set up. If this is for a "live" webserver, your ServerName will be your fully qualified domain name.
You'll make this edit in the httpd.conf file
As for starting Apache automagickally, a simple thing to do would be add '/dir/to/apache/bin/apachectl start ' to the end of your rc.local file. You could also set up the appropriate scripts in rc.d and suc, but doing the previous will get the job done.
|