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 shop.mydomain.com. 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?

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.

Submit an Answer
1 answer

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?