Changes

Jump to: navigation, search

Configuring an Ubuntu Linux Based Web Server

425 bytes added, 15:06, 25 June 2008
Configuring the Apache Web Server for Your Domain
</Directory>
</pre>
 
The first step is to comment out the ''NameVirtualHost'' line of the file by prefixing it with a '#' character:
 
<pre>
#NameVirtualHost *
</pre>
 
The reason for this is that this directive is already specified in the ''sites-enabled/000-default'' file. If the above line is not commented out the following warning will appear when the Apache server is restarted:
 
<pre>
[warn] NameVirtualHost *:0 has no VirtualHosts
</pre>

Navigation menu