Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addsubdomain #14

Open
vacho opened this issue May 6, 2014 · 2 comments
Open

addsubdomain #14

vacho opened this issue May 6, 2014 · 2 comments

Comments

@vacho
Copy link

vacho commented May 6, 2014

This is a important feature that in this module could be implement.

@vacho
Copy link
Author

vacho commented May 6, 2014

Whe I try

xmlapi->api1_query($account, "SubDomains", "addsubdomain", array('test27.dominio.com', 'dominio.com', 1, 0, 'test27') );

I get this error:
{"cpanelresult":{"apiversion":"2","error":"Access denied","data":{"reason":"Access denied","result":"0"},"type":"text"}}

@vacho
Copy link
Author

vacho commented May 7, 2014

The error turned out to be in port. You need to change the default port that is to whm by cpanel port to run create a subdomain.
Can I contribute this code? Accepted pull-request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant