Randomly cannot Curl or ping subdomain for a 30 minute block out of the day?

Hello, I have a site built upon the Laravel framework. We have a shop on our site and it is pulling products via the Woocommerce API using an install of a wordpress I’ve placed on a subdomain. So the shop pages pulls products via the endpoint Almost every day for a few minutes, and up to 1 hour I cannot pull from the API. If I SSH into the server and try and ping my subdomain it says “No address associated with hostname”. Why is it that this randomly happens through ought the day?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey friend!

The “No address associated with hostname” sounds like a DNS resolution issue. If you call it by IP instead of hostname, does it then work?