how to host your own website with Google Cloud [2019]

How To Host Your Own Website With Google Cloud

How To Host Your Own Website for free on google cloud with Free SSL –

In the previous post, I have given the detailed article and YouTube video post about how to install a WordPress website on Amazon Web Services Cloud Server. For more information about How To Host Your Own Website, read the link given below.

With the same process and techniques, in this post, I will give you a full tutorial about How To Host Your Own Website with WordPress, Google Cloud Platform, Amazon Web Service and Other cheap hosting service providers like Bluehost and Hostinger

Install WordPress on AWS, using Linux Commands Only [2019]

Why Online Business is Important and How To Host Your Own Website

Nowadays, every person’s online presence has increased, especially Facebook, Instagram, Twitter, TikTok, YouTube etc. At its local level, most of the local people are doing their business locally only and it is very important to grow their transaction in the other small scale industries also. Later on, you can freelance others to earn using How To Host Your Own Website

Now the government has revealed that the Slow Down is coming in the auto sector. And most of the Graduated Youths, who have completed their studies, looking out to get jobs. But due to this recession, there are fewer chances to get employed. The only solution to this is Revolutionary Technology.

If you can raise your income by starting your own small business using the latest skill’s. But questions like How to learn, Where to learn and Who will teach, these all questions come in your mind. Don’t worry, we have started this website and YouTube channel to find a solution to this problem and guide mostly wandering young people.

I will tell you some tricks and tips in upcoming posts. If you use these techniques for How To Host Your Own Website, you will earn up to Rs.1000 for the day. I will share such information. But my research is just beginning on this. As soon as I get the trusted and secured technique of earning online, then I will share my strategy and technique.

Till then initially you need to do your own digital marketing first, you will have to increase the scope of your group of friends, more and more your followers will have to grow.

What should you do to Host Your Own Website for your Online business?

The easiest way, right now in 2019 is Google. Install Google My Business App on your smartphone or Android phone and register your business with Google for free. Only you need a Gmail Account before to register it.

Google My Business App gives you a lot of facilities, including Free Website for your business, To make SEO of your business, listing products online, writing in detail about your Special product’s, keeping some offers, arranging events, so you can attract people.

The biggest advantage of this is that your business transaction will increase in the course time. Through an online search for more and more people, you will be able to tell about your business.

Nowadays, smart voice searches like Alexa, Google Assistant has made a successful presence in the market. Aged people, Women, and even IT-professionals, children use it more using voice searches to buy from their nearby stores.

So whether your business is in any street or far away, your business will be able to survive in this competitive business only because of online presence and will be able to earn a lot. Google has given an opportunity to host your own website free of cost for 1 year.

Simple 5 ways to host your own website for your business online –

  1. You can do this using the above-explained strategy i.e. Google My Business App.
  2. Start your own online website.
  3. Launch social media add campaign using Facebook, Instagram, Twitter.
  4. Promoting people with their products like Blogging and YouTube.
  5. Promoting products to more and more customers by creating simple Android and iOS applications and registering in Google Play Store.

In this article, I will only talk about how to host your own website without any coding knowledge and this cost free advice boost your entreprenuership confidence.

In recent times, most of the websites in the entire digital/online world remain in WordPress. Because creating a website with WordPress is very easy and free. In this, you do not have to have knowledge of coding.

Just keep your patience and stay passionate about online business. In some days you will become a master of it.

Most of the Indian youth learned this technical knowledge to enhance their skills. Using these techniques, making a lot of earning online. Make sure before getting to be an enthusiast.

One more thing, Goggle has become Number one Search engine in the world with intelligently working platforms which created great no. of jobs for youths. To compete with Google, Other brands like Amazon, Azure, Alibaba or even Indian Top-rated telecoms like Jio also started to provide Cloud-based services. These are going to provide an opportunity for lots of upcoming youth.

So start benefiting these service like EC2 instances (On AWS cloud) or VM Instances (Google Cloud Platform) especially for Bloggers and YouTubers.

Without a focus on smart hard-working, there will not be any more success rather than it will lead to a stressed lifestyle and consequently, your perception goes astray.

We are discussing here How to start own online business website in a WordPress Content Management System (CMS). Later in some posts we going to see what is Blogging and YouTubing.

Why would we use AWS or Google Platform only?

Before starting to design a WordPress website, you need a Web Hosting to store your website data, images and other contents.

There are lots of web hosting companies are there like Bluehost, Hostinger, Bigrock, Hostgator, Siteground etc. These companies provide shared servers. This is good for beginners who just started in the blogging industry. For big websites like Amazon or Flipkart, they need cloud servers which makes their website faster to load on client-side.

If you have a little amount to invest for hassle-free online business, I would Recommend Get Latest Web Hosting Discounted Offer today –

Benefits of getting Web hosting instead of Google Cloud and Amazon Web Services

  • 24/7 Customer support to help you any future problems
  • One-click installation
  • It helps to verify your website ownership when Search Engines asks to install .html files, codes in your server, where using your own ubuntu instance makes you confusing late on.

#1 Cheap Hosting and Domain Names with 100% Uptime Guarantee – Hostinger

how to host your own website with Google Cloud [2019] 1how to host your own website with Google Cloud [2019] 2

#2 One of Old & Best Hosting and Domain Names with 100% Uptime Guarantee – Bluehost

how to host your own website with Google Cloud [2019] 3

Here we are using 1-year free tire web hosting cloud servers, which are relevantly faster than shared hosting servers. But one thing you should remember that this is only free for one year. After that, they will charge depending on your server configuration have been chosen to run your website.

Please use this Cloud platform for your practice purpose. If really you made substantial success in your blogging journey, then it will help you in future also. But passionate starting and consistent practice will make you king in Content creation.

Google cloud platform or AWS is providing free tire services on their platforms. Simple to use and they have most servers all around the globe. In this, AWS has most of the cloud servers than Google. So more is the cloud servers, more and faster will be the content delivery.

In the last post, we only discussed how to host your own website using WordPress installation on AWS cloud servers using Ubuntu 18.04 Operating system and Linux commands only.

Why should we use Ubuntu OS or Linux for website hosting?

Linux is secured and open-source operating system. Linux commands are also easy to use only if you practice it for some time of period. This makes us empower ourselves to host a website on our own installed servers.

This practice boosts our confidence and ultimately we will be doing indirect Business practices. It will help you most to become a freelancer on Fiverr, Guru or UpWork platforms.

steps to host a website using WordPress CMS on Google cloud platform –

After deciding the cloud platform to be used to host a website, we need some software to be used to manage website data.

Below step empowers you,

  • how to create your own server from home for web hosting
  • how to host your own website server
  • how to make your own web hosting server Linux
  • how to host a website in apache server in Linux

Here, we need some software like Apache Server, PHP, MySQL, and WordPress for Your Web Hosting. All are freely available. We just need to know which Linux commands should be used to install these software’s. Please follow the below steps,

Before it, we need at least 10 GB storage space and a minimum of 1 GB RAM of the system on a cloud server.

I have made Video (ExpertYUVA YouTube channel) on this installation steps for How To Host Your Own Website With Google Cloud, and a link is given below, after commands completion. Follow the same steps as it is. I am also given how to install a free SSL certificate on your website.

Linux command line –

#1. Install Apache Server –
sudo apt update && sudo apt install apache2

#2. Configure Firewall –
1 sudo ufw allow OpenSSH
2 sudo ufw allow in “Apache Full”
3 sudo ufw enable     ——————/*enter “y”(yes)*/
5 sudo ufw status

#3. Install MySQL –
1 sudo apt update && sudo apt install mysql-server    ——–/*enter “y”*/
2 sudo service mysql status

#4. MySQL Security –
1 sudo mysql_secure_installation
2 Hit “ENTER Button”
3 Enter Strong Password
 ———–/*Press Y and hit enter
                 —“— Y and hit enter
                 —“— Y and hit enter
                 —“— Y and hit enter*/
4 sudo mysqladmin -p -u root version

#5. Install PHP –
sudo apt update && sudo apt install php libapache2-mod-php php-mysql

#6. Installing phpMyAdmin –
1 sudo apt update && sudo apt install phpmyadmin
2 sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
3 sudo a2enconf phpmyadmin.conf
4 sudo service apache2 reload

#7. Create MySQL User –
1 sudo mysql
2 CREATE DATABASE dbname;——–/*in place dbname apaka khud ka database name dijiye*/
3 CREATE USER ‘newuser’@’localhost’ IDENTIFIED BY ‘password’; ————-/*newuser – apaka khud ka user name, password- apaka khudka*/
4 GRANT ALL PRIVILEGES ON * . * TO ‘newuser’@’localhost’ IDENTIFIED BY ‘password’;
5 FLUSH PRIVILEGES;
6 exit

#8. Secure PhpMyAdmin —– optional——

/*agar apko apana database secure karana chate ho toh ye wala step use kare*/
1 sudo nano /etc/apache2/conf-available/phpmyadmin.conf
2 Alias /newlogin_name /usr/share/phpmyadmin —–/*new url name type ctrl+x again press y again hit enter*/
3 sudo service apache2 reload

#9. Enable .htaacess –
1 sudo apt-get update
2 sudo a2enmod rewrite
3 sudo service apache2 reload
4 sudo nano /etc/apache2/sites-enabled/000-default.conf
(1)     <Directory “/var/www/html”>
                      AllowOverride All
         </Directory>
******************OR********************
<Directory /var/www/html>
        Require all granted
</Directory>

/*press ctrl + x >>> press “y” for yes and hit enter button*/

(2)   ServerName your-domain-name.com
       ServerAlias www.your-domain-name.com

#10. Configure Apache File –
1 sudo nano /etc/apache2/apache2.conf — press F6 and type for copy paste for
2 <Directory /var/www/>
           Options Indexes FollowSymLinks
           AllowOverride All
           Require all granted
</Directory>

3        <Directory /var/www/html>
                  Options -Indexes
          </Directory>

—–/* exact spelling needed to be paste otherswise error occurs*/

4   ServerSignature Off
     ServerTokens Prod

#11. Install CURL –
1 sudo apt-get install curl
2 sudo service apache2 restart
3 sudo apt-get install php7.2-curl
4 sudo service apache2 restart

#12. Installing SSL Certificate – use clodflare CDN for Free SSL. Mapping cloudflare DNS to domain name hosting
*****************************optional******************************
install SSL Certificate
sudo apt-get update
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-apache
sudo apachectl stop
letsencrypt –authenticator standalone –installer apache -d example.com
sudo service apache2 start
service apache2 restart

Setup SSH Key
sudo apt-get update
mkdir .ssh
cd ~/.ssh
touch authorized_keys
sudo nano authorized_keys
sudo nano /etc/ssh/sshd_config
prohibit-password
sudo systemctl restart sshd.service
service apache2 restart

******************************************************************

If you want to use filezilla for uploading and downloading server filles on your own system then follow following commands permission before start using it

Installing a WordPress

#13. Install WordPress –
1 cd /var/www/html
2 sudo rm index.html
3 sudo wget https://wordpress.org/latest.tar.gz
4 sudo tar -xzvf latest.tar.gz
5 cd wordpress/
6 sudo mv * ..
7 cd ..
8 sudo rmdir wordpress/    ——/* to delete extracted WordPress folder*/
9 sudo rm latest.tar.gz   —–/*to delete latest.tar.gz from folder*/
10 sudo mv wp-config-sample.php wp-config.php
11 sudo nano wp-config.php —- (edit db_name, db_user_name, db_pass)
——————–install WordPress entering the domain name in browsers url————————-

#14. Plugin, themes asking permission and other errors –
1 sudo touch user.php
2 sudo nano user.php
——-/*opens a blank window, write the below code and
save it by pressing “ctrl + x”, “y” and again hit “enter button”. Code will be saved*/

***************************************************************

#code to get username for wp_plugin FTP credential
<?php echo exec(‘whoami’); ?>

***************************************************************

—–/*open browser(Chrome or Firefox or anyone you use), type in the address bar, https://yourdomainname.com/user.php
You will get some character like “www-data”.
After that use below command for further modifications by changing ownership and read-write permission to the files*/

4 sudo chown -R www-data:www-data .*

5 sudo nano wp-config.php
——–*/add below lines after last define function, as*/
define(‘FS_METHOD’, ‘direct’);

if above commads and codes not works, in rare cases try alternative codes given below
—————–or——————
/*add your FTP credentials*
define(‘FTP_HOST’, ”);
define(‘FTP_USER’, ”);
define(‘FTP_PASS’, ”);
//*If you like and can use a SSL connection set this to true*
define(‘FTP’, true);
—————————————————————————————————————

———-php directory————————–
#15. Special permissions in php directory –
cd /etc/php/7.2/apache2/
sudo nano php.ini
(search —> max_input_time = 30
uplaod_max_filesize = 20M (“from 2M to 20M”) you can increase upto 500M
post_max_size = 50M (from 8M to 50M))

sudo service apache2 reload
————————————————–

# END WordPress Installation

After installing WordPress and launching the site, you need some plugins. These plugins give functionality to your website to work properly, efficiently and effectively. You must have to use them before posting any content on your website. The list is given below,

Must install Plugins –

  1. Cloudflare
  2. Realy Simple SSL
  3. Yoast SEO
  4. Contact form 7 or WpForms
  5. Site Kite by Google
  6. Table of Content
  7. Wordfence Security – Firewall & Malware Scan
  8. W3 Total Cache
  9. MailChimp for WordPress
  10. WP Mail SMTP by WPForms
  11. Smush Image Compression and Optimization
  12. AMP for WP – Accelerated Mobile Pages
  13. Social Media Share Buttons & Social Sharing Icons
  14. Wocommerce — for eCommerce business only.

Professional pages must be made for Trustworthiness and

Your website must be monetised for displaying ads or contents from ad networks and other advertisers. We will discuss it later in some post about Ad networks and Google Adsense.

Once you know How To Host Your Own Website With Google Cloud then you need to complete your 20-25 SEO friendly post on your website. This would be the way to monetize your content with worlds most trusted and High-Quality Ad network like Google Adsense. When you apply for these ad networks, their management or review team will go through your website.

They always give priority for genuine and trusted sites to recommend their registered Advertisers with our site. So they want trustworthiness, Quality and Professionalism from our website.

These pages list is given below and how to generate these pages, given in below link

How To Setup a Blogger Template for Adsense Approval [2019]

Pages list – 

  1. About us – Type texts with your own Intro and Bio about you.
  2. Contact us
  3. Privacy Policy
  4. Terms & Conditions
  5. Disclaimer
  6. Sitemap – Use Yoast SEO plugin to ad sitemap page in your tab.

Concluding Words for How To Host Your Own Website

Design your attractive WordPress website to share your interest and knowledge to the world. These free techniques are very useful to practice purpose to learn Blogging and website designing.

Later sometime you would get professionalism in these techniques especially in How To Host Your Own Website With Google Cloud and eventually you’ll provide the best of available skilled service providing blogging, web designing services.

Also, it will help you for upcoming online earning techniques like Affiliate Marketing, Social media Marketing, Content Marketing. We will discuss these terms in coming posts.

Thank you So much..!!!

Watch YouTube Video – How to Install WordPress on Google Cloud Platform

How to Install WordPress on Google Cloud Platform

4 thoughts on “how to host your own website with Google Cloud [2019]”

Leave a Reply

Your email address will not be published. Required fields are marked *