Resources For:

How To Install WordPress Onto Google Cloud

How To Install WordPress Onto Google Cloud

Uncategorized

arnold on Jun 04, 2021

How To Install WordPress Onto Google Cloud

Make sure you are logged into Google.
Then Go To:
https://cloud.google.com/free
Click On “Get Started For Free”
Getting Started To Create A Google Cloud Account
You will need to accept the terms of service and click continue.
Accepting Terms Of Service For Google Cloud
You will have to enter your payment information. You will NOT be charged anything and there will NOT be an autocharge at the end of your free trial.  They need your credit card to verify your identity. In the image below you may already have a payment profile setup. You can use that if needed.  If you do not have a payment profile set up then you will need to select the option to create a payment profile.
Enter your information and click “Start My Free Trial”How To Enter Payment Info For Google Cloud Services
You may be asked some questions as shown below. You can answer them if you would like or just click the close button.
Google Cloud Questions Asked

Installing WordPress On Google Cloud

Next we will install WordPress into our Google Cloud hosting. Make sure you are at the home page of the Google Cloud Services or click here: https://console.cloud.google.com/home
We want to access the marketplace as shown in the screenshot below.
Accessing The Marketplace In Google Cloud
In the search box of the marketplace do a search for “Bitnami WordPress”
Finding Bitnami WordPress On Google Cloud Platform
Select the Option for “WordPress Certified By Bitnami & Automattic”
Select The Correct Bitnami WordPress Option
Once you select that option you will be presented with a screen where you can launch Bitnami.
Launch The Bitnami WordPress
You will now see a screen similar to the screenshot below. Do not worry about the estimated cost shown.  We are going to configure this for the free tier hosting from Google. Follow my instructions exactly in order to set this up correctly.
  1. First enter a deployment name for your hosting.  Since this is for a resume website I am inputting resume-website. It needs to be entered lower case and there can be no spaces.
  2. Enter the server you want to use. For the free tier you can select any of the us-west1, us-central1, or uswest1 options. Consider which region of the country will utilize your website the most and select the most appropriate server.  I choose the central location in the image below because it is the middle point of the country. You can choose any of the a , c , f, b options.
  3. Change the machine type to fl-micro
  4. Change the Boot disk size to 30gb
Google Cloud Platform Settings For Free Hosting
Everything else can be left the same.  Accept the terms of service and click “Deploy” to continue.
Deploying Your Free WordPress Hosting On Google Cloud.
Once you click deploy your new hosting will take about two minutes to set up. When it completes you should get a success message screen. On the right side will be several important pieces of information. The site address  is your URL and you can check your website there. The admin URL is where you can log into the dashboard of your website. The admin user is the username you will use to log into WordPress. The password is what you will use to log in.
WordPress Successfully Installed On Google Cloud Platform
***Important***  The Site Address from the image above is the IP Address of your website. Your IP address will be different that mine. Write down the IP address because you will need it in a few minutes. Based on the info in the image above, the ip address for my website is: 35.226.185.115.    Once again your IP Address will be different than mine so make sure you write down the correct IP Address.

Change Your Default Password:

You should change this password right away.  Log into your WordPress Dashboard and then navigate to Users -> All Users -> and then click edit for USER.
Change your default bitnami wordpress admin password
Scroll the bottom of the page and you can enter a password and then click update profile. When you log in your username will be USER and your password will be the password you just set.
Setting Your Bitnami WordPress Password Google Cloud

Change Your NameCheap DNS

Now we need to go and configure our DNS so that our URL points to the Google Cloud Server. Since we used namecheap for a free URL navigate there by following this address:  www.namecheap.com
Once you login, go to your domain list and then click on Manage for your URL.
Accessing Your Namecheap DNS
Next you need to check to see if you have the default nameservers selected. You can see in the image below that I do not.  I need to change these to the default which I will show in the next step.
Not default Namecheap Nameservers
Select “Namecheap BasicDNS” from the dropdown and click the save arrow.
Setting the Namecheap basic DNS Settings
Next click on Advanced DNS at the top and then “ADD NEW RECORD”
Adding a new record in the namecheap DNS
When you click on ADD RECORD You will see something similar to the image below:
The A Record at namecheap
Read the next section slowly and thoroughly before attempting the next step.  Don’t rush this!
You will need to add two records. An “A” record and a CNAME record.  Enter the information as shown below.  The A record needs to be the IP address that Google Cloud assigned you which you wrote down earlier. (Do not enter my IP address 35.226.185.115 which is in the image below).You also need to enter the URL of your website exactly as it is in Namecheap. You will enter these records one at a time.  Click the green arrow to save each record.
Setting Your DNS Records in Namecheap
If there are multiple A Records or CNAME Records, you should delete them. You should just have one A and one CNAME.
Once you click the green save arrows we will need to wait for the changes to show up. Do not do anything else until your DNS propagates. In other words do not continue until you see a blank WordPress installation when you type in your url that you bought from namecheap.  For me I will keep checking arnoldrobinson.xyz until I see a blank WordPress installation. When I set this up it took less than 10 minutes. However it could take a few hours.
If you go to your website and see a default screen from your URL registrar, or a 404 error, that means that your DNS did not propagate yet or you entered incorrect info. So, if you see a screen similar to the image below, double check your DNS info you entered in Namecheap. Make sure you only have one @ record and only have one CNAME record.
Default namecheap 404 page.
When you can see your blank WordPress installation you will know that it worked. An example of what a blank WordPress installation is shown below.
Blank WordPress Installation

The Ultimate

DIGITAL MARKETING Email List

SPEND ONE HOUR A WEEK ON YOUR DIGITAL MARKETING WITH THE HELP OF OUR WEEKLY GUIDES EMAILED TO YOU!

SIGN UP NOW

    IS THIS CONTENT

    UP-TO-DATE?

    IF NOT, PLEASE LET US KNOW
    SO WE CAN UPDATE

    POPULAR POSTS