Website Configuration Checklist

This is a short checklist to get a new website up and running ASAP. It is intended for people who know what they’re doing and just want a checklist to remember the steps involved and to avoid a trap when configuring forwarding for Google Apps email addresses.\r\n\r\n### Pre-requisites\r\n* A Linux server with Apache2 installed\r\n* Root access to configure and restart Apache\r\n\r\n### Results\r\n* DNS configured for mydomain.com and www.mydomain.com\r\n* Email accounts configured\r\n* Apache ready to serve requests for mydomain.com and www.mydomain.com\r\n\r\n### Steps\r\n1. Register domain name mydomain.com\r\n1. Configure DNS A records for www.mydomain.com and mydomain.com\r\n1. Configure an Apache virtual host to serve www.mydomain.com\r\n\r\n su\r\n cp /etc/apache2/sites-available/www.existingdomain.com \r\n /etc/apache2/sites-available/www.mydomain.com\r\n make necessary changes in /etc/apache2/sites-available/www.mydomain.com\r\n a2ensite www.mydomain.com\r\n mkdir /var/www/www.mydomain.com\r\n chown user:group /var/www/www.mydomain.com\r\n /etc/init.d/apache2 restart\r\n1. Create redirect from mydomain.com to www.mydomain.com\r\n\r\n su\r\n cd /etc/apache2/sites-enabled/\r\n create ../sites-available/mydomain.com containing \r\n RewriteEngine ON \r\n RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]\r\n cd /etc/apache2/sites-enabled;ln -s ../sites-available/mydomain.com \r\n ./YYY-mydomain.com\r\n /etc/init.d/apache2 restart\r\n1. Configure Google Apps for mydomain.com, which is just one click @ name.com\r\n1.Create Google Apps admin account\r\n1. Configure email addresses for mydomain.com\r\n 1. Configure Admin account forwarding\r\n 1. Log in to Gmail using the account which will be forwarded.\r\n 1. Configure forwarding address in Settings/Forwarding.\r\n 1. Enable forwarding address\r\n 1. Test forwarding address from a non Gmail account!\r\n 1. Repeat process for other accounts if necessary, using email nicknames \r\n to avoid creating extra accounts.\r\n1. Get started creating some content in /var/www/www.mydomain.com!

Written on October 31, 2010