Make a Free Website on Google Cloud for one year

2020 Starts with people having plenty of free time home and that’s the beauty of this period when people would be having ideas of a very innovative thing called “Startups”. This post is no such plan of mine. 10 minutes reading and probably 30 minutes of practically applying this method will just help you create your website/ personal blog on Google Cloud for Free for a year.

OBJECTIVE: The objective of this blog post is to demonstrate a step by step procedure to host your website/ personal blog on Google Cloud Platform for free for a year. The procedure is the same if you want to pay for the services 🙂

Introduction: Let’s start with making clear understandings and objectives.

  1. This is not a post to learn web development. That’s an altogether another topic. However, I’ll tell you how to make a WordPress blog with just a click at the end of this post.
  2. I will be covering Apache PHP Based websites. Reason to choose PHP is it is the best to create content websites. According to research, There are 80% websites on the Internet which are developed using PHP.

Requirements: Let’s start with the below pre-requisites beforehand we start implementing this in real.

  1. Free GCP Account – – Google offers $300 free credits for new users on Google Cloud Platform.
  2. A domain name – You can purchase your domain name from various vendors on the internet few of my favourites are
  3. Free Cloudflare Account. We will use Cloudflare to manage DNS and website catch – You can skip this part but believe me it’s worth a task.
  4. Free Webhosting panel – A Webhosting panel is a bundle of software which are required to manage a web server and run a website. We will use my personal favourite CentoOS Web panel

That’s it, folks – Let’s start with the process and create a fresh new server for you.

Creating a compute engine in GCP :

Step 1: Log in to your GCP account and head to Compute Engine Virtual Instances and click on create a new Compute Engine.

Step 2: Get the correct configuration for your Compute Engine :
The important thing to note here is Region/Zone and Machine configuration. Below configuration is the most optimal config you would require for a WebHost. The cost of n1-standard-1 in us-west1 would cost around $24 per month, that would be $288 for 12 months which is under $300 credits available for free to use by Google.

Step 3: Choose the Operating System
Google offers various operating systems. My favourite is centOS so let’s proceed with CentOS.

Step 4: That’s it – Your server is ready to go – Click finish and wait for the magic to happen. Once your server is ready you will be able to see something like this. To login to your server just click on SSH.

Once you have logged into your server – All you have to do is install a WebHost pannel. CentoOS Webpannel in our case.

Installing CentOS Web Panel

Step 1 – Login to the GCP Compute engine just created.

Step 2 – Login with root with the command:
[tushar_kesarwani09@instance-1 ~]$ sudo -s

Step 3 – Follow the instructions on the CentOS Website –

[tushar_kesarwani09@instance-1 ~]$ yum -y install wget
[tushar_kesarwani09@instance-1 ~]$ yum -y update
[tushar_kesarwani09@instance-1 ~]$ reboot

---- Wait for the SSH Shell to come back ---

[tushar_kesarwani09@instance-1 ~]$ cd /usr/local/src
[tushar_kesarwani09@instance-1 ~]$ wget sh
[tushar_kesarwani09@instance-1 ~]$cwp-el7-latest

These commands will take some time. Always refer to the commands from official website as these could change.

That’s it folks – once above commands are executed properly you will have the login details for the admin portal for centOS Web Pannel. The final confirmation would look like the below message. Don’t forget to save the below details.

Step 4: As you can notice on the above Screenshot, password to login to the server panel is the SSH root Server. By default root user has no password, so we have to reset the password for root user using ssh shell.

That’s it folks – You have a running web panel to host your domain. Let’s log in and play around.

Admin panel still not working? Yes – Don’t worry if you are getting the below error. The reason is GCP does not open the ports automatically. You have to open the Ports from the firewall rules. Let’s learn how to do that 🙂

Creating Firewall Rules To Open Access To Required Ports:

Step 1:- Login to the VPC Network section and click on Firewall Rules.

Step 2:- Create a new Firewall Rule to open access to port 2030 and 2031 with the below configuration.

Step 3:- Once you have created rules to open port 2030 and 2031 required for centOS web panel, you will be able to login to the centOS web panel.

Hit Like if you can see the below screen 🙂

Note: The password for the panel is the root password you reset on ssh few steps back.

Now comes the final step where we have to add a domain to this server and have our first website online 🙂
The final step is to point your domain to this server and add it in the web panel.

Adding the domain to the Server :

Step 1: Adding the domain to Cloudflare and create DNS Records pointing to your server. Adding your domain to Cloudflare is not a mystery, You just have click “Add a new site”. Choose Free package and finish.

Step 2: Next step is to add DNS records in Cloudflare. See the picture below to create the similar records.

Step 3: Change Name Servers on your Domain manager to point it to Cloudflare so Cloudflare can redirect it to your server.

Step 4: Add Domain to your web panel
Now that’s the beauty of CentOS Web Panel, managing a domain is very easy. Just find an option to “Add Domain” and fill the details.

Step 5: You are Live 😀
Let’s prove this by writing something on the website. Let’s upload a basic HTML page to see if my domain works. Changing website content is easy with centOS web pannel. Just look for File Manager and go to the folder you have you filled in the above form while adding the domain and put your own HTML Code.

Let’s open your website 🙂


So I have put-up a detailed step by step guide to take you online. You can explore the web panel to explore various features like setting up an email service, installing blogs, CMS Softwares on your website. CMS Softwares like WordPress is very popular for running content websites like a personal blog. My personal blog is WordPress based. Look for Softaculous in the pannel to install CMS software on your website. Follow the screenshot below

That’s it, folks. I hope it helps you with creating your first website online. If you have any queries don’t hesitate to leave a reply here or email me to

A Year In London

19-Jan-2019, a very fine evening, when I landed in London. I can’t speak in words how happy I was. It was a dream come true. 365 days and 365 events today sum up to an altogether another life I have lived here.

Not much time ago I got asked to work from the London office, the moment I got this option, it created a new spark in me to chase my life once again. I know when people move to London, they assume it altogether different life, My story is a little different. Today I feel like a home away from home here. London is beautiful, it attracts you with its colours, lights, streets, people and 100 other reasons and yet gives you a freedom to stay in a calm people-friendly environment. London is strange, It makes you a part of it and I wish the same.

First Apartment: I remember my first apartment was in Holborn. This picture explains it all.

View this post on Instagram

The city of dreams 🙆‍♂️

A post shared by Tushar Kesarwani (@asktushar) on

The City Of Dreams
== London ==

Tue Story. London is the city of dreams. Evey evening with a view like this will make you fall in love with anything. It gives you the enthusiasm to start another chase.

Days past and the walk started to feel soo confident. Walks like below and thinking about how it all happened is itself gives you the confidence you need.

And this

You get that confidence you needed to chase another life.

Dude, I’m telling you, London is crazy. First six months I lived in central London (Thanks to my amazing Job), I can’t strain enough on how difficult that life is. Dude, It’s Central London! You get to walk in one of the most beautiful parts of the world and you have the beautiful lights and heart taking architecture of the city to capture in a frame.

View this post on Instagram

Yeh Dil Maange More!

A post shared by Tushar Kesarwani (@asktushar) on

True, London makes you feel like home but the hardest truth is it’s not. When the time passes you start messing up your memories and you want to be with your past, your friends, your family, which you can’t get in anywhere. I got lucky and fulfilled my dream of taking my parents here. For over 45 days with them here, we all felt connected to London somehow! My parents loved it. With all another amazing series of events when I visited England and Scotland with my parents, the beauty we saw in people and the environment we all lived a small life in 45 days.

View this post on Instagram

When mom dad are in London 😍🥰

A post shared by Tushar Kesarwani (@asktushar) on

You see, when you move somewhere you start living and it starts feeling like home. This is when I moved into my current home. And when you celebrate a festival at home it becomes more close to being called home. And another reason is the people I moved in with.

I made good friends. Thank you, London for this gift.

Well, as they say, you have to go through the worst to get the best, and that’s what my life has been so far. I’m glad I met you baby 😉

With all series of events, the memories, I’m happy to say I live in London and I love it here 🙂