Jump to content

Account Creation Failed: (Curl Error) Couldn't resolve host '' - code: 6 ????


MultiHosts

Recommended Posts

Having same issue, I tried everything sugested

Including firewall whithe list of the ips and disabling firewall

reinstalling curl

checked hosts in server and resolves OK.

checked connection to whm in server and it connects OK.

 

I don't know how to test any of the above, but if it'll help you can tell me how and I'll happily post my results.

Link to comment
Share on other sites

If you're using a firewall, what firewall are you using? Personally I use CSF by ConfigServer.com - one of the most popular software firewalls out there. In the ALLOW section, just put in your WHMCS IP number and it'll let the machine access it.

 

Also, verify that whatever HOSTNAME that you created does actually resolve. That's probably one of the more common things that people forget to do.

Link to comment
Share on other sites

If you're using a firewall, what firewall are you using? Personally I use CSF by ConfigServer.com - one of the most popular software firewalls out there. In the ALLOW section, just put in your WHMCS IP number and it'll let the machine access it.

 

Also, verify that whatever HOSTNAME that you created does actually resolve. That's probably one of the more common things that people forget to do.

 

 

Actually, I think what you are describing will give "cannot connect - error 7"

 

The problem is that the server cannot resolve the remote domain. If you are a reseller, you need to contact your host. If not, check your /etc/resolv.conf (if running linux)

Link to comment
Share on other sites

  • WHMCS CEO

The error the OP is getting is: Couldn't resolve host ''. This is saying the host is '' (ie. blank). Therefore that means either the package is not assigned to a server (dropdown set to None) or the server it is assigned to has no IP address entered. Should also check a default server for new hosting packages is set in Config > Servers.

 

Matt

Link to comment
Share on other sites

having the same issue, i did everything I could think

 

White list firewall

check host for the resolving

check and test connection to whm

tried different servers for account creation

set default server

check package server

tested curl

Used SSL

used root and password as a user.

 

Still I get (Curl Error) Couldn't resolve host '' - code: 6 with any server I try to connect.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated