Changes

Jump to: navigation, search

Configuring an Ubuntu Linux Based Web Server

675 bytes added, 15:24, 2 July 2007
Configuring the Apache Web Server for Your Domain
</pre>
The ''ServerAdmin'' directive definesan administrative email address for people wishing to contact the web master for your site. Change this to an appropriate email address where you can be contacted: <pre> ServerAdmin [email protected]</pre> Next it the ServerName and ServerAlias directives need to be defined so that the web server know which virtual host this configuration file refers to: <pre> ServerName myexample.com ServerAlias www.myexample.com</pre> Next, we need to define where the web site files are going to be located using the DocumentRoot directive. The tradition is to use /var/www/''domain-name'': <pre> DocumentRoot /var/www/myexample.com</pre>

Navigation menu