Changes

Jump to: navigation, search

Configuring an Ubuntu Linux Based Web Server

224 bytes added, 15:15, 25 June 2008
Configuring the Apache Web Server for Your Domain
</pre>
The reason for this is that this directive is already specified in the ''sites-enabled/000-default'' file. Alterntively, the wildcard (*) may be replaced with the IP address of associated with the domain, for example: <pre>NameVirtualHost 68.206.209.234</pre> If the above line is not commented out , or an IP address specified the following warning will appear when the Apache server is restarted:
<pre>
</pre>
Next, In the next stage 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>
</pre>
Next, Having completed the changes we now need a copy of the /etc/apache2/sites-available/myexample.com configuration file in /etc/apache2/sites-enabled. We do this by creating a symbolic link from the file in sites-available:
<pre>

Navigation menu