如何使用 php 脚本在 cpanle(API) 中添加具有另一个服务器 IP 的子域
我有一个cpanel帐户。我想在 php 脚本的帮助下添加一个具有 ip 的子域(它指向另一个服务器)。
有人知道吗?
I have a cpanel account. I wants to add a subdomain having ip (it points to another server) with the help of php script.
does any one have any idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
首先,您应该获取 PHP 的 XML-Api 包装器 - 它使事情变得更加容易。
然后检查 API 参考以获取您需要的方法。
Well first you should grab the XML-Api wrapper for php - it makes things a lot easier.
Then check the api reference for the methods you'll need.
http://docs.cpanel.net 是 cpanel api 的官方文档。不幸的是,出行确实很困难,至少对我来说是这样。
不过,您需要自己阅读 api,因为我知道您的问题没有实现。
http://docs.cpanel.net is the official documentation for the cpanel api. Unfortunately, it really is hard to get around, at least for me it was.
You will need to read up on the api yourself though since I know of no implementation of your issue.