Report this

What is the reason for this report?

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

Posted on September 9, 2018

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?



This textbox defaults to using Markdown to format your 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?

Jarland

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.