This is a shell script to automate setting up the WordPress server setup described in this blog post. To use it:
ssh root@[your-droplet's-IP-address]
curl -s https://raw.githubusercontent.com/morphatic/fast_secure_wp_server_setup/master/fast_secure_wp_server_setup -o server_setup
chmod +x server_setup
sudo ./server_setup
NOTE: This ONLY works for new domain setups where your domain name is NOT pointed at another server somewhere. In the future, I'd like to update the script so that it can handle setting up a temporary site while you are migrating a site from another location to DigitalOcean.