Purchasing a Domain name and pointing to GCP

The domain name is provided by different Host server websites like GoDaddy.  Here for learning purposes, I purchased a free domain from the most preferred provider called freenom. (https://www.freenom.com)  First, sign in to the GCP account  Network services → cloud DNS → Create DNS Zone  ADD RECORD SET → With and without WWW.[Text Wrapping Break] Freenom… Continue reading Purchasing a Domain name and pointing to GCP

Setup Free SSL for WordPress on Google Cloud (Click-to-Deploy)

Connect to WordPress via SSH Go to your Google Compute homepage and click the hamburger menu ( upper left-hand corner) → Compute Engine → VM Instance → SSH. 2. Check Operating System lsb_release -a 3. Generate Certificate Instructions Navigate to certbot.eff.org and select Apache from the Software dropdown, then select the correct operating system based… Continue reading Setup Free SSL for WordPress on Google Cloud (Click-to-Deploy)

Solution for Invalid key in SSH – GCP

Error: Invalid key. Required format: <protocol> <key-blob> <username@example.com> or <protocol> <key-blob> google-ssh {“userName”:”<username@example.com>”,”expireOn”:”<date>”} Try the following steps: Realign the ’rsa-key-<value>’ section. Cut and paste the rsa-key-20210820 to the first position of the key. Add username(mail id) to the end section of key value. Try out these methods with different combinations. Replac the Key Comment Textbox… Continue reading Solution for Invalid key in SSH – GCP

Google Cloud FTP Setup with FileZilla

Download PuTTY and FileZillaPuTTY is an SSH client and Key generator. This application is used to generate a private/public key and establish a secure connection between your GCP instance and Filezilla.FileZilla is the FTP Client that we will use to securely manage our Google Cloud Website’s files straight from our Desktop. Generate SSH Keys Followed… Continue reading Google Cloud FTP Setup with FileZilla

Steps to Host WordPress on GCP

STEP-1: Sign in to your google cloud console.  Email verification  Mobile number verification  Address and account details verification  Received mail after step 3: Next step is to verify the account. Mail received After verification: STEP-2: Create the first project Select new project Clicked → ‘   Go to your Console   ’  Created a new project ‘My Trial… Continue reading Steps to Host WordPress on GCP

How to Fix FTP Permission Errors on Google Cloud

First, Give permission to the admin in GCP. http://jobinandjismi.in/how-to-add-permissions-for-the-user-in-iam-in-gcp/ Basically, we need to follow 6 steps to rectify the issue. They are:  Identify Error Permission denied errors occur when you don’t have the required permissions to make changes to a file that you’re trying to edit over FTP. 2. Connect to VM InstanceTo fix the problem,… Continue reading How to Fix FTP Permission Errors on Google Cloud

Blog related WP-functions

Some useful WordPress functions used for Blog Development: get_post_permalink() To get the post link get_permalink($post->ID)To get the corresponding Blog link get_the_post_thumbnail_url(get_the_ID())To get the post thumbnail image URL get_the_title()To get the Title of the Post get_the_excerpt()To get the expert Text