cURL Couldn't Resolve Host Errors
On this page
Problem
You see one of the following errors:
Curl Error - Couldn't resolve host (6)
Server Command Error - Curl Error - Couldn't resolve host (6)
Curl Error: Connection refused - Code 7
For more information about cURL errors, see libcurl Errors.
Cause
This error indicates that the system cannot find a server. This could indicate a temporary issue with your DNS provider or a misconfiguration.
- If you see
Curl Error - Couldn't resolve host (6)
while attempting to access WHMCS, DNS cannot resolve the WHMCS licensing server. - If you see
Server Command Error - Curl Error - Couldn't resolve host (6)
while working with hosting servers or provisioning, an account doesn’t have an associated hosting server in WHMCS.
Troubleshooting
Check for the following issues in the Servers tab while editing a product group at Configuration () > System Settings > Products/Services:
- You have set the correct servers and, if using a server group, Configuration () > System Settings > Servers lists at least one server for that server group.
- The module is the same module that you selected in the Module Settings tab for the individual products.
Solution
Make the necessary corrections and try again.
Make certain that your DNS provider is operational and verify your configuration.
You may also need to check your zone files for and remove any entries for whmcs.com
.
Last modified: February 4, 2025