
Hosting wordpress site free on google cloud with bitnami wordpress and free SSL certificate
This article shows how you can free host your wordpress website on GCP for next one year. In this article we have used google cloud bitnami wordpress ssl for securing site. You can use your first 300$ credits for free hosting. So let’s start.
Step 1 :- First open https://console.cloud.google.com/ create new project if you have existing project that is also ok.

Step 2 :- Click on marketplace.

Step 3 :- Search for Wordpress.

Step 4 :- Click on openlitespeed-wordpress. After it will redirect to openlitespeed-wordpress page in GCP.

Step 5:- Click on LAUNCH. You can enter information as needed. You can change Deployment name, Boot Disk Type, etc. After that allow traffic from all over worldwide network for that enter 0.0.0.0/0 in all fields. After that press Deploy.

Step 6 :- After reserve that IP means allocate static IP so sever address will never change. after that goto Cloud DNS. Press on Create Zone. Give zone name. In DNS Field enter your domain name. For tutorial purpose i am using free domain name. After that press Create.

Step 7:- Copy NS and Paste in NS of your domain. Press Change Server.

Step 8:- Changes in NS will take some time. After that copy IP address and create two records first one in A record in which only you have to enter server IP address. Another one is CNAME record in which you have to prefix DNS name with www and you have to select record type CNAME and enter Canonical name with you original domain name in this case stacktech.tk After that your DNS Zone will look like following -

Step 9 :- After that you can check whether everything is properly done or not by using ping command. If you get proper reply with your entered IP address then everything is fine.

Step 10 :- After that login to SSH from Deployment manager. Now we are going to generate SSL certificate for our domain. When you First time login using ssh it will ask you about domain name enter domain name and press enter. You have to just enter information.

Step 11:- Now you can visit to your site. you can see site is secure with SSL certificate.

After that give information and press Install Wordpress.

It will install wordpress. Now you can login to admin you can post different posts as you want.


If you have any questions you can ask in comments.