Amazon Lightsail LAMP app site can no longer be reached - wordpress

I have a LAMP app in Amazon Lightsail using Bitnami. I was going to switch to a static IP. For testing, I created a snapshot of the app. The snapshot worked with a static IP. When I tried to move the static IP over to the original instance, both instances gave me a This site can’t be reached, XXX.XXX.XXX.XXX took too long to respond I went back and tried to set up a 3rd instance off the snapshot and that will not work either. I don't understand why even that one won't work. I have tried in Chrome and Firefox with no luck. I can reach the instances via the command lines which say that apache is running.
Help me obi-stackoverflow-nobi. You are my only hope!

It turns out that the way the site was built had the older IP saved in the database and the wordpress site was trying to go to the old IP instead of the newer one. I changed the IP in the DB and restarted the apache server to a beautiful website.

Related

No access to wordpress backend anymore - "Your connection is not private"

hope you can help me because I'm losing my mind here:
A couple of months ago, I started to build my new website (WordPress, hosted on Google Cloud, deployed with "Click to deploy" and I got the domain name on Google Domains).
Everything worked fine back then. But I needed to put this project on hold.
Now I wanted to continue working on the website, and I realized the VM was stopped. I successfully re-started it and wanted to access the WP back end with the link that can be found in the Deployment Manager of Google Clouds ([IP address]/wp-admin) but it doesn't work anymore. It only says the connection is not private, and I can't access the website. I can't even get to the login form.
What I have tried so far:
Changed ephemeral IP to static external IP & connected the VM to the IP
Pointed Domain toward static external IP - as shown in any tutorial
Updated NS on Google Domains
Created DNS Zones (A, CNAME)
Installed SSL for my domain successfull
Still not working, neither the IP nor the domain (server not found).
My guess - the Domain (mk-studios.net) is not live yet, and therefore, the SSL certification doesn't work yet. If not, I messed something up, and I don't know where to look. I don't get why it worked well months ago and has stopped working now.
Does anyone have a guess? Do you need any further details?
Thank you so much in advance,
Best,
Mario
This problem may have many causes but the most common is that your SSL has NOT installed properly. I suggest you the following steps:
Make sure that your SSL works fine and reinstall your SSL.
If you have access to DB, go to *_options table and in the first two rows siteurl && home you will find your URL. In this point remove the "S" from the https:// and make it http://.
If you have other server take the DB locally an connect with WP files from fresh installation.
Also when you remove the -s from https:// visit your url with incognito mode/private mode.
I will stay here to help you.
George

Wordpresson GCP VM very slow after install

I'm playing around with GCP VMs for my wordpress site but am having some problems.
Installed wordpress with Click to Deploy from the marketplace. This install was working fine but was broken by Updraftplus. So I've stopped it by clicking stop.
I've now installed Wordpress on a new 2nd VM and moved the reserved IP address to the 2nd VM.
However when I try to access the site with its domain name or IP address its extremely slow and i cant login to admin.
In monitoring everything is within its limits and my qoutas look fine.
Any help provided will be much appreciated as I'd really like to learn how to use a VM on GCP so I can use it for my proper website and be able to solve any problems I might encounter.
Thanks
Stephen
why is my 2nd install of wordpress click to deploy running so slow ?

Amazon Workspaces VM prevented from logging in to WordPress on DreamHost

I have several WordPress websites being hosted on DreamHost. I decided to set up an Amazon WorkSpaces VM to do my WordPress development because my current computer is under-performing (I have a new one on the way). However, I can't log in to any WordPress dashboard from the Amazon Workspaces VM.
I also tried logging in from an EC2 VM. Same issue.
Using a VPN allows me to log in, leading me to think that there is IP level blocking going on. However DreamHost assures me that there is no blacklisting against the IP address.
Anyone have any idea what could be causing this?
(Side note: this is in no way intended to make DreamHost look bad. They are my top recommendation for shared hosting, and their customer support is excellent. I named them in case the specificity would be helpful.)

Accessing local installed Wordpress from a mobile device in the same network

I have set up the latest Wordpress version 5.3.2 on my local machine by using XAMPP 3.2.4.
Since I want to check out my homepage also on a mobile device (not only an emulator on my desktop) I tried to access it from my phone. I always get the error "ERR_CONNECTION_REFUSED" when I try to call it with "http://192.168.0.170/wordpress". This is the IP of my notebook where XAMPP is running.
Interesting thing to add: It works without issues from another notebook in the same network. What I have seen is, that the mobile phone redirects from the IP address to "localhost/wordpress" while the notebooks do not redirect.
Now, I am aware that this is not a new problem and I have read most likely all posts on this topic in the internet. What did I already tried and changed in order to get it running:
Add an entry in the Firewall settings to allow connections on port 80
Change the site URL and home URL in the wordpress settings to the local IP
There are multiple suggestions to change settings in the Apache config files from XAMPP. I did not do any changes there as the code which is proposed to be changed cannot be found in the files.
Do you have any idea why it could not work on a mobile device while it does work from another notebook?
Thank you very much!
Regards,
Philip

Acessing WordPress locally on different network

I've been having trouble accessing my local wordpress project on different network. The site just keeps loading, and I can't even access the admin panel. I inspected the net panel. It's showing this IP instead of 'localhost' or my real local IP. Since I'm new to wordpress I would like to hear some solutions to this problem.
EDIT: The problem was in the Database. That IP was stored in options table.
I used interconnectit to change the '192.168.0.12' to 'localhost' and I can confirm that it works now.
To run wordpress on your local pc you should have a server installed, for example wamp server.
If this step is fine, make sure that you are masking correctly localhost with this ip at hosts file (C:\Windows\System32\drivers\etc).
Finally, if you are moving wordpress from another location, make sure that all db records (especially on wp_options table) have the url changed.
For sharing project hosted localhost over network, you can use Ngrok

Resources