Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

google hosting wordpress

Introduction

If you’re looking to host your website on the cloud, there are a number of options. You can use AWS, Azure, or Google Cloud Platform (GCP), depending on what you need and how much money you have in your budget. This article will walk through setting up WordPress with Compute Engine and connecting your domain to it so that when people visit your site they’ll see it is hosted on Google Cloud Platform.

Create a Google Cloud Platform account

To create a Google Cloud Platform account, you’ll need to provide your name and email address. You’ll also need to verify your phone number before proceeding with the process of creating an account. If all goes well, you’ll receive an SMS text message either confirming that your Google Cloud Platform has been activated or asking if you’d like to activate it again (which will happen automatically).

Once activated, it’s time for the fun part: setting up WordPress on GCP!

Enable the Google Services you need for WordPress.

To enable the Google services you need for WordPress, follow these steps:

Advertisement
  • Log into your WordPress site.
  • Click Settings (in the upper-right corner of any page).
  • In the left menu, select Network. Then click Web Hosting Setup under “Web Hosting” in Domains and Cloud SQL below it. Click Enable next to each service that you want to use on this site: Google Domains ($0-$12.50/year), Google Cloud SQL ($0-$1/month), or any other combination of services that makes sense for your needs!

Set up Compute Engine for hosting WordPress.

To set up Compute Engine for hosting WordPress, you’ll need the following:

  • A computer with at least 2 GB of RAM and a 64-bit operating system (Windows, Mac OS X or Linux)
  • An internet connection If using Windows or macOS, make sure that your firewall allows traffic through port 80 on your instance. You can check this by going to Settings > Network & Internet > Firewall in the Cloud Platform Console and examining each rule individually for any blocks that might be blocking access to port 80. In other words: if there are any rules which block traffic on this port from reaching my server’s public IP address (eg: your own computer), then I will have to remove them before proceeding further!

Connect your domain to your Compute Engine instance.

  • You must set up a VPC for your domain.
  • You need to create a firewall rule so that customers can access your site by navigating directly to https://example.com/ from their browser or from another hostname (such as example-1).
  • You can use Cloudflare’s CDN services for static content, but we recommend using GitHub Pages if possible because it’s easier than setting up an offsite backup system like S3 or Glacier and protects against the risk of losing data due to hard drive failure or natural disasters such as hurricanes and floods by storing backups in multiple locations across the world instead of just one location that could be compromised by hackers who might want access

Install WordPress on your Compute Engine instance.

To install WordPress on your Compute Engine instance, follow these steps:

  • Install the Google Cloud SDK and sign into the Google Cloud Console. If you don’t already have a project, create one now.
  • Connect to your Compute Engine instance using an SSH client (e.g., PuTTY). To do so:
  • Open Terminal or Command Prompt in Windows 10 and run “ssh [email protected]”. This will connect you to your account at https://console.cloud.googleapis.com/ where you can see all of the resources available within it (such as instances). You should be able to see that there are two types of instances running: “master” and “worker.” The worker is used for testing purposes only; we’ll use only master here since they’re cheaper than worker ones when starting out!

You should use GCP to host your WordPress website!

You should use GCP to host your WordPress website!

If you’re looking for a way to host your WordPress website, GCP is the way to go. Not only does it provide great user experience, but it also offers free managed services and unlimited storage. You can use the GCP console to configure and manage your site, scale up or down as needed based on traffic demands and more.

Advertisement
Read Also

Conclusion

We hope this article gave you all the information you need to get started with hosting your WordPress website on GCP! If you’re ready to get started now, check out our step-by-step instructions below.

About The Author