Home Wordpress site running on Google computer engine inaccessible after instance stop & start
Reply: 2

Wordpress site running on Google computer engine inaccessible after instance stop & start

Amal Antony
1#
Amal Antony Published in 2018-01-13 09:20:24Z

The instance has the apache2 service running, however it is not allowing HTTP requests. What could possibly have changed on restart? Any pointers would be greatly appreciated.

John Dee
2#
John Dee Reply to 2018-01-13 09:39:23Z

It could be a million things. You haven't given any information. What exactly happens when you http into it. Can you SSH? FTP? I've had a corrupted DB once when I hard re-booted an Ubuntu box.

Navi Aujla
3#
Navi Aujla Reply to 2018-01-13 20:55:35Z

As you mentioned "restart" and "google-compute-engine" tag in your question, it is possible that if IP assigned to the instance was an ephemeral external IP which means if you stop and start the VM instance or delete the instance then external ephemeral external IP assigned to that instance will be released and there is no guarantee that you will retain the same IP address back. So, IP must have changed for the webserver when you restarted the VM instance.

You will need to update the required 'A' DNS record to point to the new IP address assigned to the VM instance, if that is the case.

If planning on hosting websites, I would recommend using static external IP addresses. Static external IP address can be reserved and assign to the VM instances. This will make sure external IP address assigned to the VM instance will be persistent throughout the lifecycle of the instance.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.313081 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO