After upload my php website on app platform , i get DNS_PROBE_FINISHED_NXDOMAIN. I already add everything on my composer.json and update it for get a new composer.lock. I don’t why why i still get DNS error


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.

You may also try using a command line tool like dig and curl to check the URL.

dig <domain> will show DNS information for the domain. curl -v <URL> will try to retrieve a web page and show the headers and response body.

If the dig command returns the NXDOMAIN, then the curl command should fail too. The dig command may also show some numbers relating to how many seconds the response is cached (possibly cached on your computer, your ISP’s DNS server, and other layers of DNS querying).

Something to note is that web browsers will try to follow redirects. Curl does not by default. You may see something like this:

< HTTP/1.1 301 Moved Permanently
< Location:

in which case you will need to do another curl using the URL in the Location header that was returned.

You may also see something like this:

<title>301 Moved Permanently</title>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="">here</a>.</p>

Note that the reference in the response has a different URL than the original. In this case it is being redirected to a with www. appended to the beginning of the URL. If you try to follow that redirect, you will get a NXDOMAIN as the app platform doesn’t set up a DNS for subdomains on the auto generated domain. If you are using a custom domain, make sure that the www subdomain is also attached to the app.

Hello there,

Keep in mind that DNS changes might take up to 24 hours in order to fully update. Can you please confirm if you’re still experiencing the issue? Also, you can check the DNS resolution using our DNS tool here:

Hope that this helps! Regards, Alex