If you want to build your own Google Free hosting service with a WordPress website then make sure you watch this article (Google Free hosting service) till the end. I'm going over how to set up Google Free hosting service and host a website on the free tier of Google Cloud Platform.
Never pay for Google Free hosting service again when it can be free. I will show you my best to show you every single step in this post nevertheless if you have any doubt or question feel free to ask me anything below in the comment section.
How to Setup Google Free hosting service WordPress Website On Google Cloud Platform (GCP). After 1 year, pay just pennies a month for light traffic website. Hosted on highly reliable Google Free hosting servers.
This Step-By-Step Guide will show you how to configure a website from the initial. You will need a credit card to link to the account, and it's preferred that you have a domain name to use. Otherwise, you can purchase a domain name from domains.google.com or NameSilo.com, or GoDaddy.com, Namecheap.com, etc.
STEP #1
Setup Google Free hosting service
at cloud.google.com using a free Google account.
STEP #2
Deploy WordPress Website by Bitnami for Google Free hosting service
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 pakaffiliate.marketing )
sudo /opt/bitnami/letsencrypt/scripts/generate-certificate.sh -m izharmukhan@gmail.com -d pakaffiliate.marketing -d www.pakaffiliate.marketing
sudo nano /opt/bitnami/apache2/conf/bitnami/bitnami.conf
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/(.*) https://www.pakaffiliate.marketing/$1 [R,L]
sudo /opt/bitnami/ctlscript.sh restart apache
STEP #5
Increase Performance using a CDN Content Delivery Network)
www.CloudFlare.com/CDN
STEP #6
Remove Bitnami Banner Ad
Code Used:
sudo /opt/bitnami/apps/wordpress/bnconfig --disable_banner 1
sudo /opt/bitnami/ctlscript.sh restart apache
STEP #7
Install WordPress Theme & Really Simple SSL Plugin
When installing the Really Simple SSL Plugin, the plugin needed to write access to the wp-config.php file, we did this step:
sudo chown daemon: daemon /opt/bitnami/apps/wordpress/htdocs/wp-config.php
We installed the Astra Theme:
Astra Theme (Just click on Add new Plugin by installing WordPress on your Blog)
If you are a photographer and you are installing ProPhotoBlog (https://pro.photo?qbr=DNGU7813 ), 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:
extension=imagick.so
Restart the Apache server and/or the PHP-FPM service if available:
sudo /opt/bitnami/ctlscript.sh restart apache
sudo /opt/bitnami/ctlscript.sh restart php-fpm
References:
https://docs.bitnami.com/google/infra...
Free Hosting with Google Cloud Platform
Reviewed by IMK yousafzai
on
07 January
Rating:

No comments:
I am a full-time Blogger and Web Developer and taking an interest in internet marketing. I share what I learn. I experiment with the internet and shares my knowledge with others. Sharing is carrying.