before the setup, put the website folder to "/var/www" (share_www) 1) copy the configuration file from the default sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/icc-computer.com 2) Edit the new configuration file sudo nano /etc/apache2/sites-available/icc-computer.com directives ========== a) ServerAdmin lei@icc-computer.com b*) Listen 80 (note: edit in "/etc/apache2/ports.conf", default 80) c) ServerName icc-computer.com d) ServerAlias www.icc-computer.com (or: *.icc-computer.com) e) DocumentRoot /var/www/icc-computer.com #DocumentRoot /var/www f) DirectoryIndex default.htm (Note: the default valus in "/etc/apache2/apache2.conf") 3) Enable the new VirtualHost or website sudo a2ensite icc-computer.com 4) restart Apache sudo /etc/init.d/apache2 restart