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!

google shared hosting

*******UPDATED VIDEO*********

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

NOTE: If that doesn’t work try:
sudo /opt/bitnami/apps/wordpress/bnconfig.disabled –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:


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

  1. Very well presented, thanks to make it look so easy 🙂
    Post following all the steps, I now got this error in WP admin dashboard, can you please advice any steps to resolve it:
    Error! ionCube Loader Not found. Please check instructions .

  2. I want to thank you again. I saved this as a favorite and I'm glad I did. I installed a plugin called Suberb Themes, don't do it! I was hopping to get more control out of one of there wordpress themes. It fucked everything up, I could not manage images, NONE, no matter what theme I chose. I could not uninstall the plugin, I'm still fighting for a refund!

    In the end I delete the VM and started over, fuck!

    I did everything that I did the first time, but my domain kept going to the wrong IP address???

    So I went through this video again, bingo, google domains! Yes in the night my domain was transferred form hostmonster to google. It was in there I found the DNS record, updated to the new IP address, I'm good now!

  3. What's the big difference between using Google Cloud Platform as my WordPress Hosting than using Other WordPress Hosting Like Bluehost, Ionos, WPEngine Etc?

    I have 4 diffrent Website can I add all of them on one Google Cloud Account? Do I also have to pay for each website individually Monthly Or Yearly?

  4. 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

  5. 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.????

  6. 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!

  7. 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

  8. 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

  9. 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?

  10. 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?

  11. 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?

  12. 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 🙂

  13. Great video…..only suggestion that I would add….is how to migrate your wordpress from a hosting service (for example using All-In-One WP Migration Plugin)

  14. Hi, SSL certificate of my site expired, i tried to rectify the issue by changing the nameservers to google cloud server name and repeat (steep #4) but received the below massage.

    It seems there is a valid certificate in the web server configuration folder. Please renew that certificate or genera
    te new ones manually

    your help is really needed

Leave a Reply

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