Setup HTTP(S) Load Balancer on Compute Engine for WordPress installed on Nginx


I'm working to set up an autoscaled WordPress site with Nginx on Compute engine,

Here's my workaround:


I have set up an Instance on which Installed Nginx and set up my WordPress site.

</li> <li>

Created a cloud SQL instance for the database of WordPress site.

</li> <li>Create Custom Compute Engine Image from my Instance Disk on which I have set up my WP site.</li> <li>Then Create an Instance Template using the custom Image I have created.</li> <li>Then create my required 4 managed, autoscaled instance groups based on the my Instance Template.</li> <li>Setup an HTTP Load balancer and add all of 4 instance groups in Backend service.</li> <li>Also, add a health check with the PORT TCP 80 and PATH / When I access the external IP it returns an error like:</li> </ol><blockquote> <ol start="404"><li>That’s an error.</li> </ol>

The requested URL / was not found on this server. That’s all we know.


Help me, please!

Thanks in advance!


Judging by what you mention, you have followed what is mentioned over at <a href="https://cloud.google.com/load-balancing/docs/https/setting-up-https#troubleshooting" rel="nofollow">https://cloud.google.com/load-balancing/docs/https/setting-up-https#troubleshooting</a>, however, I would recommend to check out this guide <a href="https://blog.realkinetic.com/http-to-https-using-google-cloud-load-balancer-dda57ac97c" rel="nofollow">https://blog.realkinetic.com/http-to-https-using-google-cloud-load-balancer-dda57ac97c</a> as it contains a more in depth explanation on how to set up the load balancer using GCP. It seems to me that you miss configured something but it is hard to tell only by what you listed.


  • Monitor memory usage for auto scaling group
  • Laravel Task Scheduler across multiple servers without overlap
  • How to retrieve SessionID in NodeJS with multiple servers?
  • Azure VM Scale Sets Internal Loadbalancer
  • Google Maps v3 with MeteorJS loading sync issue
  • Serializing socket
  • Collect HostCPU utilisation and disk I/O speed using XenServer Java API
  • Are there algorithms for putting a digest into the file being digested?
  • WordPress MysqlError: Unknown storage engine 'InnoDB' [duplicate]
  • gulp.watch running same task multiple times when saving many files
  • Installing PHP 7 on digitalocean
  • Redshift Querying: error xx000 disk full redshift
  • Django invalid literal for int() with base 10
  • Does Mobilefirst provide a provision to access web services directly?
  • Not able to aggregate on nested fields in elasticsearch
  • How can I enlarge video fullscreen without the affected interface project in as3?
  • xtable package: Skipping some rows in the output
  • Python urlparse: small issue
  • Error when parsing timestamp with pandas read_csv
  • $wpdb not working in file of WordPress plugin
  • C++ Partial template specialization - design simplification
  • NHibernate Validation Localization with S#arp Architecture
  • FileReader+canvas image loading problem
  • java.lang.NoClassDefFoundError: com.parse.Parse$Configuration$Builder on below Lollipop versions
  • Bug in WPF DataGrid
  • Incrementing object id automatically JS constructor (static method and variable)
  • Redux, normalised entities and lodash merge
  • Adding custom controls to a full screen movie
  • Is there a mandatory requirement to switch app.yaml?
  • Comma separated Values
  • Codeigniter doesn't let me update entry, because some fields must be unique
  • Error creating VM instance in Google Compute Engine
  • Free memory of cv::Mat loaded using FileStorage API
  • Hits per day in Google Big Query
  • What are the advantages and disadvantages of reading an entire file into a single String as opposed
  • how does django model after text[] in postgresql [duplicate]
  • python draw pie shapes with colour filled
  • unknown Exception android
  • Does armcc optimizes non-volatile variables with -O0?
  • Observable and ngFor in Angular 2