Apache web server set up
Posted on 2005-12-12 at 08:01
Setting up Apache2 Web Server in Ubuntu Linux is pretty easy stuff---almost not worth writing down---but here goes:
- I use the apt-get command to install Apache2
apt-get install apache2 - I add a .conf file to /etc/apache2/sites-enabled for each domain
touch www.kungfugamers.com.conf - I edit the .conf files to look like this for each domain (adjusting for the web root I chose and the name of the domain itself.
<VirtualHost *>
DocumentRoot "/var/www/kfg"
ServerAlias www.kungfugamers.com kungfugamers.com
ServerName www.kungfugamers.com
</VirtualHost> - I restart apache2 so it grabs the new conf settings
/etc/init.d/apache2 restart