script.google.com.

Hello Support,

My PHP application can resolve oauth2.googleapis.com and www.google.com, but PHP/cURL cannot resolve script.google.com. The error is:

Could not resolve host: script.google.com

Please check whether DNS resolution and outbound HTTPS connections to script.google.com are supported on my hosting account.

Thank you.

Hi @gplreddy36, welcome to the community!

On the free plan, outbound access to certain domains is restricted, and script.google.com is one of them. That’s why it fails to resolve while other Google domains work fine. This is a platform-level restriction and we’re not able to lift it for individual free accounts.

If your app depends on Google Apps Script, you’d need a premium hosting plan where these restrictions don’t apply. Alternatively, you may be able to use the official Google APIs (like the Sheets or Drive API via googleapis.com) instead of an Apps Script web app endpoint.

Thanks!