CPanel API-创建子域 [英] CPanel API - Creating Subdomains
本文介绍了CPanel API-创建子域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在编写脚本,以便可以在我的帐户上创建子域。我正在关注此示例:
I'm writing a script so I can create subdomains on my account. I'm following this example:
我的问题:如何创建子域? Cpanel API上的文档显示得不太好。
My question: How can I create subdomains? The docs on Cpanel's API don't show this very well.
推荐答案
请确保您使用的是API版本2。以下是创建子域的说明的直接链接。
Make sure you are using version 2 of the API. Below is a direct link to the instructions to create subdomains.
https://documentation.cpanel.net/display/SDK/cPanel+API+2+Functions+-+SubDomain%3A%3Aaddsubdomain
这篇关于CPanel API-创建子域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文