ERR_CONNECTION_TIMED_OUT Wordpress website hosted on GCP - wordpress

I'm new to GCP and using Bitnami I installed wordpress on GCP and redirected my domain to GCP. As I don't know much about cloud computing it worked and was working fine until a few days ago when anyone opens the website it takes some time to load and after that it shows:
ERR_CONNECTION_TIMED_OUT
I tried searching online but it's a common error and there is a lot of other information but nothing in regards to GCP. Now I don't know what to check in GCP to see if it's working but here is a screenshot of Compute Engine for the website:
Screenshot of Compute Engine
And the Cloud Platform Status seems to be fine too:
Screenshot of Cloud Platform Status
Comment if you need more info as I can't seems to figure out what to share here so that the thing causing this error can be identified.

Bitnami Engineer here. If the IP of your instance changed, you will need to change your DNS records to use that new one.
Regarding the default Apache's page, it seems you installed the apache system's package and that's why you see that page. You will need to stop and remove that service
sudo service apache2 stop && sudo service apache2 disable
and start the Bitnami's one again
sudo /opt/bitnami/ctlscript.sh start

Related

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 ?

CENTOS 7 nginx issue

I am not a developer, but just know how to work with google, which means i lack a lot of knowledge. I work for an NGO here, and we have received free hosting to build the site on. I can build sites (wordpress) but have always worked through hosting like godaddy. Now we have cloud through a company called BMIT, and i am struggling to install
https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-centos-7
So far everything worked, created a different root etc, but when installing nginx this works, but when running
sudo systemctl start nginx I get an error and this is
Can anyone point me in the right direction?
inspect the log file located on /var/log/nginx/, there you can find error log file and reason

EC2 and Wordpress Times Out When Downloading Anything

I put up a WordPress site on an EC2 instance (Linux, micro). I couldn't get the install of WordPress using ssh command line because it would constantly time out. But I did get it working by Ftping the files to my server. Now, everything is working but when I try to install a new theme or plugin through the wordpess admin interface, I only get the timeout error.
I have no idea why I'm getting timeouts when I connect to the www.wordpress.com site (for the install or plugins or themes), but that seems to be the common denominator.
Does anybody know what might be going on here?
Thanks
It turns out I forgot to include https for outbound connections in the security group.

AWS: Wordpress install

I hope you can help.
I'm trying to setup a wordpress blog. In the past I've been using HostGator but now making the switch to AWS. However, I'm having problems with the basics.
I have created an instance and managed to login to the instance via putty.
In S3 I have created 2 buckets. lmof.uk and www.lmof.uk (following one of the AWS guides) and uploaded a php file to lmof.uk
In Route 53, I have added the Domain to the Hosted Zone, created A record and CNAME as well.
Updating my Nameservers from my register and if you visit lmof.uk it downloads the php file.
When I log into my Putty, I can't seem to find the php file anywhere. I followed this guide: https://www.youtube.com/watch?v=PbQSs-_d-yM but when it came to looking at my public ip address, the connection times out.
I'm sure I'm missing something fundamental, but at this stage I'm just looking to install wordpress, see the files, edit them and see the changes on the website.
you forgot to open port 80 on security groups.follow the link below
Opening port 80 EC2 Amazon web services

Change default URL on bitnami EC2 application

I'm running wordpress on a micro EC2 instance using a bitnami AMI (ami-8333ffea to be exact) but I think this question applies to any bitnami cloud application. I've designated an Elastic IP and mapped a subdomain to the instance (e.g., blog.example.com). So far, so good.
Now I can access the blog but the URLs all contain '/wordpress' (blog.example.com/wordpress/.../). Bitnami has documentation (click 'Cloud Image/Bitnami Hoting' tab) for fixing this but I've tried following it several times without success. I make the changes, the site still works but '/wordpress' is still there taunting me. The machine is running Apache2 and the instructions all seem to make sense. I'm not sure what I'm doing wrong. Please help.
Probably the WordPress siteurl setting was not updated. The following command has to be executed:
sudo /opt/bitnami/mysql/bin/mysql -u root -p -e "use bitnami_wordpress; update wp_options set option_value='http://blog.example.com' where option_name='siteurl' or option_name='home'"
Make sure that you substitute "blog.example.com" in the example above with your own domain name.
And after changing the httpd.conf file, the Apache web server should be restarted:
sudo /opt/bitnami/ctlscript.sh restart apache
You can take a look at the BitNami Cloud Hosting article explaining how to assign a custom domain to your server, you can directly jump to the 6th section.
If you have BitNami specific questions, consider visiting BitNami Support page bitnami.org/support.

Resources