Getting Started with Your WordPress Image
To get started with your WordPress image, please follow the instructions below. Contact me if you have any questions:
1. Sign up for an account at Digital Ocean. Running the WordPress image will cost $5/mo. there.
2. Email your account’s email address to jeff@lookahead.io so we can initiate a transfer to your Digital Ocean account.
3. Create a Droplet from the Image. Visit your Images page and click the icon to accept the transferred image. Then, click the Create Droplet button. Enter the domain or subdomain name you would like to use for your WordPress site as the hostname. Under the Select Images option, click the My Images tab and select the WordPress image. You must create a droplet in the same region as your image (which is NYC2 by default). If you wish, you can transfer it to another region before creating a droplet.
4. Create a Custom DNS A Record for Your Domain. When you receive the email from Digital Ocean with your new Droplet IP address, create a DNS A record for your domain pointing to the IP address ( e.g. yourdomain.com A 59.117.22.99). Do not try to login with the root account and password sent via email – it won’t work due to how this image is configured.
5. Login to Your Digital Ocean Image. Use the following command and password (do not use the password Digital Ocean emailed you):
> ssh -p 22555 wpaccess@yourdomain.com
provide password hT3}qJcyF(?+
6. Configure your domain name on the server. Edit the Apache site configuration file with your chosen domain. For example:
> sudo nano /etc/apache2/sites-available/wordpress.conf
Replace demo.optimizingwordpress.com with your domain name. If you want www.yourdomain.com to resolve to yourdomain.com, also uncomment and update ServerAlias *.yourdomain.com with your domain name. Then, reload Apache:
> sudo service apache2 reload
Keep the terminal window open for step 8.
7. Login to your WordPress Dashboard at this specific address: http://yourdomain.com/wp-login.php. Use the user name wp_admin and password bWsgNk9R4TYU.
8. Change Your Site Address URL. Using the left side dashboard menu, select Settings -> General to edit your WordPress address and Site address URLs and save the new settings. Once you’ve saved these settings, return to the terminal window. Edit the wp-config.php file to turn off the RELOCATE constant.
> sudo nano /var/www/wordpress/wp-config.php
Delete the line that says define(‘RELOCATE’,true); and save the file.
Congratulations!
Now you can begin using WordPress to configure your site, choose a theme and activate your plugins.
If you wish to keep using the responsive MySiteMyWay Construct Theme, please purchase a site license from them – this will provide support for them to continue their great work and provide paid technical theme support for you.
IMPORTANT! Change Your Passwords.
Once you’ve ensured that everything is working (be sure to navigate your site and check the new site URLs), it’s a good idea to change your passwords. Make a note of your other instance account names and passwords before doing this. If you don’t change them, anyone who recognizes that you’ve launched your site using this pre-installed image will be able to login to your site.
Digital Ocean Server Instance: Port 22555. wpaccess/hT3}qJcyF(?+
> ssh -p 22555 wpaccess@yourdomain.com
> passwd
You can also switch to a key based login and/or change the port for ssh login as described in secure your instance.
MySQL Administration: root/QGHRUcc59v
> mysqladmin -u root -p’QGHRUcc59v’ password yournewpassword
MySQL WordPress User: do_wp_admin/Ddk2UjoR3N
> mysql -u root -p
> grant all privileges on db_wordpress.* TO “do_wp_admin”@”localhost” identified by “your-new-pwd”;
> flush privileges;
Update define(‘DB_USER’, ‘do_wp_admin’); and define(‘DB_PASSWORD’, ‘Ddk2UjoR3N’); with your new MySQL username and password:
> sudo nano /var/www/wordpress/wp-config.php
WordPress Dashboard: wp_admin/bWsgNk9R4TYU/admin@optimizingwordpress.com. From the WordPress dashboard, select Users -> Your Profile to change these.
If you have any questions or need assistance, please contact us.