Creating a staging server on Amazon’s AWS (other UNIX like hosting platforms should work similarly…in concept) using VIP Quickstart is fast and easy, assuming you have have some basic familiarity with Linux/CLI and DNS.
2. ssh into your new EC2 instance using the keypair you setup in step 1 – tip: your ssh command will probably look something like:
$ ssh -i path/to/keyfile.pem ubuntu@public-address-of-aws-instance
Note: the permissions on your key file will need to be set to rw for user only.
$ sudo apt-get update && sudo apt-get upgrade -y
follow instructions, answer prompts, reboot if necessary
$ sudo apt-get install -y git puppet
follow instructions, answer prompts
$ cd /srv/ && sudo git clone https://github.com/Automattic/vip-quickstart .
tip: don’t forget the “.” at the end, or adjust your paths accordingly
$ sudo /srv/bin/vip-init --server --domain=FQDN
tip: replace FQDN with whatever addressable FQDN you want to reach your Quickstart install at. You may wish to use a distinct “staging” URL (eg: staging.yourdomain.com) here, OR use your production URL and toggle between staging/production via an /etc/hosts setup.
7. modify your AWS “Security Groups” settings to allow http (port 80) traffic
8. assuming you’ve configured either public facing DNS or private routing (eg: /etc/hosts/ or equivalent) you should be able to reach your site at the FQDN you specified in Step 6 above
To connect Jetpack to WordPress.com, you can set
define( 'JETPACK_DEV_DEBUG', false ) in