Saturday 9 November 2019

Free WordPress Hosting On Google Cloud Platform! After 1 year, it costs a few cents a month!

Free WordPress Hosting On Google Cloud Platform! After 1 year, it costs a few cents a month!
IMPORTANT UPDATE: I recommend you SKIP step #5 of this video.... I just found out that the Cloudflare CDN blocks the SSL Certificate from auto renewing... it looks like we can't use Cloudflare CDN with the free auto renewing SSL certificate ☹ . I fixed it for www.KidPhotoFun.com and the SSL auto renews fine, but loses the CDN benefits, to fix it, change the DNS on your domain name provider to point back to the original NS addresses on GCP, then re-run the SSL certificate command (Step #4). None-the-less, the performance is still VERY good and I'm super happy with my deployment, let me know if you have any questions. UPDATE: Hosted my new business, www.KidPhotoFun.com on GCP with the instructions above; and it has been running super smooth for several months now. I enabled Stackdriver so that I can keep an eye on the CPU utilization of the VM instance, it also continuously runs UpTime checks so I know if my website goes down. Lastly, I have a policy configured to let me know if my monthly bill gets over $0.50! How to Setup a Free WordPress Website On Google Cloud Platform (GCP). After 1 year, pay just pennies a month (for light traffic website)! Hosted on highly reliable Google Servers! This Step-By-Step Guide will show you how to configure a website from scratch! You'll need a credit card to linked to the account, and it's preferred that you have a domain name to use. Otherwise you can purchase a domain name from domains.google.com or NameSilo.com, or GoDaddy.com, etc. #FreeHosting #WordPressOnGCP #GoogleCloudPlatform **STEP #1** Setup Google Cloud Platform at cloud.google.com using a free google account. **STEP #2** Deploy WordPress Website by Bitnami **STEP #3** Create a Static IP Address & Setup Domain Name to point to the website. **STEP #4** Create SSL Certificate & Setup SSL Certificate AutoRenew Commands Used (** MAKE SURE you change the email address and the domain address to your own, not epiclightsource.com **) sudo /opt/bitnami/letsencrypt/scripts/generate-certificate.sh -m epiclightsource@gmail.com -d epiclightsource.com -d www.epiclightsource.com sudo nano /opt/bitnami/apache2/conf/bitnami/bitnami.conf RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/(.*) https://ift.tt/35gpY9w [R,L] sudo /opt/bitnami/ctlscript.sh restart apache **STEP #5** Increase Performance using a CDN Content Delivery Network) www.CloudFlare.com/CDN **STEP #6** Remove Bitnami Banner Ad Code Used: sudo /opt/bitnami/apps/wordpress/bnconfig --disable_banner 1 sudo /opt/bitnami/ctlscript.sh restart apache **STEP #7** Install WordPress Theme & Really Simple SSL Plugin When installing the Really Simple SSL Plugin, the plugin needed write access to the wp-config.php file, we did this step: sudo chown daemon:daemon /opt/bitnami/apps/wordpress/htdocs/wp-config.php We installed the Apsire Pro Theme: Aspire Pro Theme ( https://ift.tt/2pPcu45 ) If you are a photographer and you are installing ProPhotoBlog (https://ift.tt/2Iu2u6L ), which I highly recommend, you will run into an error telling you that you need to enable Imagick Module for the best performance. The Imagick module is installed in Bitnami stacks, but is not enabled by default. To enable it, follow these steps: SSH into the VM instance again. We're going to edit the php.ini file: sudo nano /opt/bitnami/php/etc/php.ini and simply add the following line at the top of the file (or anywhere in the file, if you want to be picky, you can scroll down in the file where it has all the extensions listed, and add it there): extension=imagick.so Restart the Apache server and/or the PHP-FPM service (if available): sudo /opt/bitnami/ctlscript.sh restart apache sudo /opt/bitnami/ctlscript.sh restart php-fpm References: https://ift.tt/33debGP Credit given when Credit Due: I learned a lot of this from a website called: https://ift.tt/2DizZVC Thanks for watching! If you like the content please "LIKE" and SUBSCRIBE :) https://www.youtube.com/UTECHPIA?sub_confirmation=1 "CONTACT ME" via http://www.UTECHPIA.com SOCIAL MEDIA: https://ift.tt/2HZ0bpB https://ift.tt/2pwYNnx https://ift.tt/2I244u9 https://www.twitter.com/UTECHPIA CAMERA/LENS: Canon G7x Mark II: http://amzn.to/2hRQ7Hz Canon 1Dx: http://amzn.to/2B8G99J (newer version) Canon 16-35mm f/2.8 II: http://amzn.to/2zXu74T (newer version) Canon 24-70mm f/2.8 II: http://amzn.to/2z8abJ8 Canon 100mm f/2.8 L IS: http://amzn.to/2hJmHYI Canon 70-200mm f/2.8 IS II: http://amzn.to/2hG1miO Canon 85mm f/1.2 II: http://amzn.to/2iDYOCF Canon 50mm f/1.2: http://amzn.to/2iCQ0ge Canon 15mm f/2.8 Fisheye: http://amzn.to/2iDI3Hy

No comments:

Post a Comment