How to Deploy WordPress Website On Google Cloud Platform (GCP).

Google Cloud Platform

Step-By-Step Guide to configure a website from scratch! You need a credit card or Debit card to get started with Google cloud patform (GCP).and You Need Domain name for the best Practice, Otherwise you can purchase domain name from domains.google.com or bigrock.in, or GoDaddy.com, etc.

#STEP #1 Setup Google Cloud Platform at cloud.google.com using a free google account. #STEP #2 Deploy WordPress Website by Bitnami #STEP #3 Create a Static IP Address to point to the website. #STEP #4 Create SSL Certificate & Setup SSL Certificate AutoRenew

sudo /opt/bitnami/letsencrypt/scripts/generate-certificate.sh -m giftinknot@gmail.com -d giftinknot.com -d www.giftinknot.com

Add code to Configuration file

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

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/(.*) https://www.giftinknot.com/$1 [R,L]

Restart Apache Server

sudo /opt/bitnami/ctlscript.sh restart apache

#STEP #5 Increase Performance using a CDN Content Delivery Network) www.CouldFlare.com/CDN

#STEP #6 Remove Bitnami Banner Ad

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

Restart Apache Server

sudo /opt/bitnami/ctlscript.sh restart apache

Thanks For Reading!