Build a WordPress site on Google Cloud Platform / DNS parking tutorial
WordPress on GCP tutorial series
I’ve tried many WordPress host providers before, like 0000webhosting, HostGator, bluehost, tap… etc. Every of it has both pros and cons, but I just recently found a huge discount from the Google Cloud Platform. I think it’s a good chance to try a suite of cloud computing services like this. One site, and meet all your hosting/computing needs.
Register your Google Console account, and set up your payment information
Set up the Wordpress service
- Create a project
2. Name it and click Create (No worries with the project ID)
3. Go to the Cloud Launcher
4. Find the WordPress Certified by Bitnami
5. Press Launch
6. Name the deployment (nothing to do with the site name) and choose the spec you want. My suggestion here would be all choose the lowest, and upgrade them once you need it afterwards. Also, you can find the estimated price per month on the right. Last, make sure the firewall allows both http and https traffic, then press deploy.
7. Wait for it… (may take 5–10 min)
8. Congratulations! We just finish the deployment, now you may find our WordPress blog IP and admin account/password. You can find this page under Deployment Manager and choose your deployment name.
DNS parking
- Go to VPC network, External IP address page, and set the IP address static.
2. Set the Ephemeral to Static. Give a name and press reserve.
3. Now you ensure the IP address Google assigned to you will be static (which means the IP will stay unchanged afterwards).
4. Go to your DNS provider setting page, edit the A tag (points to your IP).
5. Now you have successfully parked the domain.
Next Step (to be updated)
<Go To The Tutorial> Get the SSL certificates for your WordPress site, so that you can make sure every visitor will see a green safety tag.
- <Go To The Tutorial> Redirect your site with the custom domain name. For example, you have a dandan.work domain name, and you wish every following url can redirect to https://dandan.work:
- http://www.dandan.work
- https://www.dandan.work
- http://dandan.work (this is a http traffic, not with SSL certified)
- http://xxx.xxx.xxx.xxx (your IP address)
- <Go To The Tutorial> Disable the Bitnami management logo on the right-bottom.