You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this server using NAT? You can tell by going to the control panel and looking at the sever info. If the local IP is a private IP then it is using NAT. If godaddy doesn't have NAT hairpinning set up properly then you will not be able to issue requests that go to the same server.
Even if the local IP is not a private IP it is still probably a NAT issue with the server and you should contact godaddy about it.
Hello, this is what i want.
I have two domains in godadday hosting
firstdomain
seconddomain
I have this code running in firstdomain but i wanna create sub-domain for second domain using following code.
$cpanelusr = 'username';
$cpanelpass = 'password';
$xmlapi = new xmlapi('seconddomain.com');
$xmlapi->set_port( 2083 );
$xmlapi->password_auth($cpanelusr,$cpanelpass);
$xmlapi->set_debug(1); //output actions in the error log 1 for true and 0 false
$result
= $xmlapi->api2_query($cpanelusr, 'SubDomain', 'addsubdomain',
array("$subdomain_name",'seconddomain.com',0,0,
'/public_html/project3/user'));
I am getting this error "curl_exec threw error "couldn't connect to host".............."
The text was updated successfully, but these errors were encountered: