Free WordPress Hosting On Google Cloud Platform! After 1 year, it costs a few cents a month!

Free WordPress Hosting On Google Cloud Platform! After 1 year, it costs a few cents a month!


IMPORTANT UPDATE: I recommend you SKIP step #5 of this video…. I just found out that the Cloudflare CDN blocks the SSL Certificate from auto renewing… it looks like we can’t use Cloudflare CDN with the free auto renewing SSL certificate ☹ . I fixed it for and the SSL auto renews fine, but loses the CDN benefits, to fix it, change the DNS on your domain name provider to point back to the original NS addresses on GCP, then re-run the SSL certificate command (Step #4). None-the-less, the performance is still VERY good and I’m super happy with my deployment, let me know if you have any questions.

To Fix the SSL Certificate: Change the DNS on your domain name provider to point back to the original NS addresses on GCP, then re-run the SSL certificate command (Step #4). I also ended up using the new bitnami SSL certification tool, which worked out REALLY nicely! Here’s more information:

UPDATE: Hosted my new business, on GCP with the instructions above; and it has been running super smooth for several months now. I enabled Stackdriver so that I can keep an eye on the CPU utilization of the VM instance, it also continuously runs UpTime checks so I know if my website goes down. Lastly, I have a policy configured to let me know if my monthly bill gets over $0.50!

To get domain email address you can either create a cpanel service, or pay for G Suite. I highly recommend paying a few bucks each month for G Suite. You’ll love. Learn more: Also, 20% off your first year coupon: 43QF7QPLXAWMEDH or use this coupon: R9KEWELK3L9LUH3 Let me know if you have any other questions.

How to Setup a Free WordPress Website On Google Cloud Platform (GCP). After 1 year, pay just pennies a month (for light traffic website)! Hosted on highly reliable Google Servers!

This Step-By-Step Guide will show you how to configure a website from scratch! You’ll need a credit card to linked to the account, and it’s preferred that you have a domain name to use. Otherwise you can purchase a domain name from or, or, etc.

#FreeHosting #WordPressOnGCP #GoogleCloudPlatform

**STEP #1**
Setup Google Cloud Platform
at using a free google account.

**STEP #2**
Deploy WordPress Website by Bitnami

**STEP #3**
Create a Static IP Address
& Setup Domain Name to point to the website.

**STEP #4**
Create SSL Certificate
& Setup SSL Certificate AutoRenew

Commands Used (** MAKE SURE you change the email address and the domain address to your own, not **)

sudo /opt/bitnami/letsencrypt/scripts/ -m [email protected] -d -d

sudo nano /opt/bitnami/apache2/conf/bitnami/bitnami.conf

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/(.*) [R,L]

sudo /opt/bitnami/ restart apache

**STEP #5**
Increase Performance using a CDN Content Delivery Network)

**STEP #6**
Remove Bitnami Banner Ad
Code Used:

sudo /opt/bitnami/apps/wordpress/bnconfig –disable_banner 1

sudo /opt/bitnami/ restart apache

**STEP #7**
Install WordPress Theme & Really Simple SSL Plugin

When installing the Really Simple SSL Plugin, the plugin needed write access to the wp-config.php file, we did this step:

sudo chown daemon:daemon /opt/bitnami/apps/wordpress/htdocs/wp-config.php

My favorite theme:

If you are a photographer and you are installing ProPhotoBlog ( ), which I highly recommend, you will run into an error telling you that you need to enable Imagick Module for the best performance. The Imagick module is installed in Bitnami stacks, but is not enabled by default. To enable it, follow these steps:

SSH into the VM instance again. We’re going to edit the php.ini file:

sudo nano /opt/bitnami/php/etc/php.ini

and simply add the following line at the top of the file (or anywhere in the file, if you want to be picky, you can scroll down in the file where it has all the extensions listed, and add it there):

Restart the Apache server and/or the PHP-FPM service (if available):

sudo /opt/bitnami/ restart apache
sudo /opt/bitnami/ restart php-fpm


Credit given when Credit Due: I learned a lot of this from a website called:


33 thoughts on “Free WordPress Hosting On Google Cloud Platform! After 1 year, it costs a few cents a month!

  1. I'm getting this error in "CWS Demo Importer
    and uploading is so slow is there something I need to change in consol cloud settings for this error and also how to increase uploading speed? I'm a total beginner in all this )) will appreciate the help. Thank you

  2. Hey there, can i ask you about Bitnami charges? i see into your video, they charge you about 13+$ per month, why's that?

  3. Update for Step 5: Removing the Bitnami Banner – the terminal script should be: 'sudo /opt/bitnami/apps/wordpress/bnconfig.disabled –disable_banner 1'

  4. Hello David, Can you make new tutorial to set up free business email in google domain with cloud google platform? thank you.

  5. I always love watching your videos. Good job, could you make a video about why all my woo-commerce plugins are activated but not functioning on my bitnami wordpress website on google cloud platform? i am trying to build a vendor-managed wordpress website but all my wocommerce plugin addons are not working because of permission errors. Please help

  6. Awesome Video! I'm only hosting my content on google which is a subdomain. Do I still use my main domain in the certificate command? IE:

    sudo /opt/bitnami/letsencrypt/scripts/ -m myemail -d -d

    Or do I do something else?

  7. So if I've done something like this all the way to a published page, HOW do I reverse this and back out of it and not incur charges after the period of time.????

  8. David, thank you for this excellent tutorial. You're a fantastic educator. I can't even imagine how much time this video saved me. I normally dislike these kinds of setup tasks with many variables, but your expert guidance made the process straightforward, rewarding, and even fun. Bravo!

  9. How to fix the problem The htaccess.conf (/conf/htaccess.conf/) file is not writable. You can either use the WordPress redirect, add the rules manually? Thank you

  10. hi could you tell me how do you write www to non-www redirection? or the other way around? I tried few support tutorials, can't seems to get it right.

  11. I got the error. "The attempted action failed. Please try again." when I created DNS address. I have tried more than 20 times. Do you know what wrong? Thank you

  12. thanks for the tutorial, unfortunately I can't install my theme because it probably occupies about 60 megs, how can I increase the size quote on wordpress?

  13. There is a way to use Cluodflare and Let'sEncrypt, you can find the method here: and thanks for the awesome tutorial @Utechipia

  14. Hi, great tutorial! I need some help though, i suspect disabling the banner has also disabled certain banners on my themes as well. Is there a way to only specifically disable the bitnami banner only?

  15. Question 1: How many pennies per month does it really cost?
    Question 2: What is your technical qualification for you to do stuff like this?
    Question 3: If you are none technical, would this approach make sense if you run into problems weeks or months in the future? How would you solve them?
    Question 4: If I send you my domain name would you set up and manage this service for me?

  16. Nice video and it really helped me a lot I just have one concern though cause everytime I try to remove the bitnami banner and enter the command sudo /opt/bitnami/apps/wordpress/bnconfig –disable_banner 1 it always give me an error saying command not found. I would really appreciate if you can help me with this 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *