Dependency This section requires you to buy or own a domain name (e.g., cloudonaut.io). The easiest way to follow this section is to register a domain name with Route 53. If you haven’t done so, please follow the AWS documentation: Registering a New Domain.
Get hosted zone id
aws route53 list-hosted-zones |
Deploy to AWS
aws cloudformation deploy --template-file .template.yml --stack-name php-basic --capabilities CAPABILITY_IAM --parameter-overrides HostedZoneId=$HOSTED_ZONE_ID SubDomainNameWithDot=app. |