你好,欢迎来到商务中国互联网服务提供商!

全国统一免费专线:400-886-7171

网站首页 > API接口说明 > 虚拟主机申请及管理接口说明

5. 修改绑定域名

修改绑定域名
命令格式:
vhost<crlf>
mod<crlf>
entityname:domain<crlf>
sitename:ftpaccount<crlf>
domain:hostdomain1<crlf>
domain:hostdomain2<crlf>
...
domain:hostdomainn<crlf>            #这里的domain表示该站点绑定的所有域名
.<crlf>

如果删除域名或者增加域名, 都用此命令, 把该站点最终的所有绑定域名发过来即可.

返回:
成功:
200 Command completed successfully<crlf>
.<crlf>

缺少属性:
504 Missing required attribute<crlf>
Message: Missing Attribute [缺少的必要的属性名称]<crlf>
.<crlf>

没有权限:
529 No Permission<crlf>
.<crlf>

系统忙:
521 System is busy, try again later<crlf>
.<crlf>