34,333
edits
Changes
→Configuring the Apache Web Server for Your Domain
== Configuring the Apache Web Server for Your Domain ==
The next step in setting up your web server is to configure it for your domain name. This is performed in the ''/etc/httpd '' directory. To configure the web server open a terminal windows window and change directory to /etc/httpd. In this directory you will find a number of sub-directories. Change directory into conf sub-directory where you will find an 'httpd.conf' file which contains the configuration settings for the Apache server.
Edit the httpd.conf file using your favorite editor using the su command to ensure you have write permission to the file. Once loaded, there are a number of settings which that need to be changed to match your environment:
The ''ServerAdmin'' directive defines an administrative email address for people wishing to contact the web master webmaster for your site. Change this to an appropriate email address where you can be contacted:
<pre>