Support » Fixing WordPress » WordPress Openlitespeed on Google Cloud can not be connected

  • thdt4114


    Hi there, I recently Hosted a WordPress on GCP , successfully, by watching couple Youtube tutorial .
    Setup : VM instances ____F1-micro
    Deployment : openlitespeed

    On WordPress I used Astra Theme , free version . I have a form on the site to collect lead ( I provide marketing service on that wordpress site ) , using WPforms , then I setup Gmail API that allow interaction between The Form on WordPress Site ….to my work email ( Gsuite email )

    Note : my VM instance is on a regular Gmail account . And my contact email using WPforms and API is an Gsuite Email account <— 2 different email account

    After an Hour or so , I can not access the site via URL , or External IP , or Admin URL on Deployment Manager page . Look like the site is down . So went back to GCP , in VM Instance , it advised to upgrade to G1-Small machine because it recently get high memory consumption ( ?!? I dont remember exactly the message , dont quote me on this ) .

    In my non-technical little brain , I thought the wordpress site is a bit heavy , and the machine is not strong enough . It is logical to upgrade to G1-Small and then the site will Up again Lol ….Nope it didn’t

    A bit of digging , I find that under Deployment Manager page where it show WordPress admin URL , that same Deployment openlitespeed still show “ Instance machine Type : F1-Micro “ which is the old machine before the upgrade

    PLease anyone can point me where is the problem ? It take me 2 days to customize that WordPress site and I dont want to re-do everything all over again .

    Looks like to me that GCP is not currently connect with WordPress . Please slap me with your knowledges lol I will try to catch up

    Thank you in advance .

Viewing 3 replies - 1 through 3 (of 3 total)
  • Matthew


    Got quite a lot going on there. The nice thing about renting some cloud space and running your website(s) on it is that you have much more control over the website(s) and environment. On the other hand it can take a fair amount of work to get it the way you want especially if you are not experienced in the field or done it already. Also if you come across server issues you are largely on your own to troubleshoot them.

    Anyways, for starters, what OS did you load up on the machine? Did you load up Cyberpanel with OpenLiteSpeed? Are you able to still access the OpenLiteSpeed web panel and/or Cyberpanel (if you installed Cyberpanel)?

    If none of the web panels are working, are you able to SSH or FTP into the server so you can see if your website files are still on it? If you are able to get in, it would be worth copying the website files off of the server so you don’t lose your progress. Also grabbing the database. This way you have a backup of your website so you haven’t lost any progress.

    There is a chance when you upgraded that they changed your IP address for the server. Look through the Google dashboard to make sure you are using the correct IP address for your upgraded server. A changed IP address could also mean you need to reconfigure the DNS for your domain.

    If you are able to backup your website completely but the web server is still not working properly then honestly I would wipe and reinstall everything. You can try and troubleshoot the issue, although if you are not experiences with Linux and command line then it is probably more trouble than it is worth to attempt to troubleshoot.

    If nothing is working and you are unable to even SSH or FTP into the server then you need to contact Google directly as your server clearly isn’t working properly because you can’t access it.

    As for server size, I looked it up and the f1-micro plan would be very tight on resources but would still probably work. Considering you upgraded to the g1-small plan though, you should have no issues with server resources if it is configured correctly. Best way to check really is either in the command line using something like htop, or through admin panels like Cyberpanel (if you have them installed) often show the server resource usage on the main dash. The Google dashboard may also show your current server resource usage. What you are looking for is that ideally you are not maxing out your ram or swap memory and that your CPU is not being maxed out constantly either. Due to OpenLiteSpeed caching the server is going to experience the most load when the website is initially caching the webpages when they are visited. So if you jump around on your website to a bunch of different pages so they get cached and the server resources don’t get pinned then you are fine.

    Thread Starter thdt4114


    @kidsguide Hi Matthew , I “accidentally” have a copy of the site . So I took your advise and reinstalled everything , the site is back and running . Really appreciate your extremely detail diagnoses .

    So to prevent this from happening , would you mind advise some subjects I can learn online on G-Cloud Web hosting that enough to diagnose myself .Computer Science is really broad and I don’t know where to start.



    Glad to hear you got it working again!

    For starters, the best advice I can give you is to constantly keep a backup that is not stored on the main web server. Daily/Weekly/Monthly backups depending on how often content on your website(s) are changing. This will save you many headaches if something goes south again with the server.

    I’ve personally never used GCP before so I don’t know if all the following apply directly to your current setup or not. Google probably has a pile of really useful tools that I don’t even know about for managing a WordPress install and web server. I’m going to list some general basics related to web servers and hosting them on a Linux vm.

    For website specific things, DNS, ports, caching, SSL, databases, and similar things allow you to have an understanding of what is going wrong past “this page isn’t loading”, etc. It also opens you up to a world of more advanced resources online without having to look for beginner level guides for everything.

    The thing with hosting a web server from scratch on Linux is that you are now in charge of managing updates, fixing errors, and more. If you haven’t already, I’d start by getting comfortable with the fundamentals of Linux and command line. Being able to navigate/copy/create/delete/unzip folders and files through the command line goes a long way with troubleshooting and following guides online. Knowing how to keep the server up to date to avoid possible security vulnerabilities. Getting use to SSH and FTP. Browsing the output logs of the web server and other programs running on the server so you know what exactly went wrong and can search online for a solution. Really, Google is your best friend.

    I’m personally more of the trial and error type of learner. I’ve learned by doing things like loading up an old laptop with Linux and installing a web server, port forwarding the router, purposely messing up the installation just to try and learn. Probably not the most efficient way to learn but everyone learns differently. There are countless books, articles, videos, etc on the structure of web servers, Linux, etc. Understanding goes a long ways in troubleshooting and preventing issues.

    Also remember that you can always reach out for help. There are countless forums online including this one which is not only a great place to ask questions but also a great resource to search through previous threads and learn.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress Openlitespeed on Google Cloud can not be connected’ is closed to new replies.