0

Hope you guys are doing well, I need a help in route 53. i need a script using which i can create sub-domain using php. I have system in which if user is getting registered with us then we are assign a sub-domain to them for profile page. Right now we are doing it manually we want to make it dynamic. is it possible to make sub-domain using PHP?

4

1 回答 1

3

您可以使用 AWS SDK 通过 PHP 创建子域。

使用changeResourceRecordSets方法并将 CNAME 条目添加到ResourceRecordSetArray。

https://docs.aws.amazon.com/aws-sdk-php/v2/api/class-Aws.Route53.Route53Client.html#_changeResourceRecordSets

于 2019-10-15T06:20:45.983 回答