awsdocs / amazon-lightsail-developer-guide

The open source version of the Amazon Lightsail docs. To submit feedback or requests for changes, submit an issue or make changes and submit a pull request.
Other
211 stars 192 forks source link

The route53 UI is not supporting input values for an A record with Alias enabled. #47

Closed wangcarlton closed 3 years ago

wangcarlton commented 3 years ago

Hey,

Thank you for providing this elaborate guide, by following the guide, I came across two questions:

  1. In the guide, it's saying "don't use a prefix if using an apex domain." In DNS Zone, I can't create an A record for the top level domain eg. abc.com, I have to input at least character in front of the domain, maybe @ for the apex domain?
  2. In Route 53, I can't input a text value(the Load Balancer created in Lightsail) if I want to create an A record with Alias enabled, and I have to select resource from drop down list which I couldn't find lightsail.

Please see the snapshots for more info.

Thank you. Route53 DNSZone

wangcarlton commented 3 years ago

Ignore the route53 record, you can paste the endpoint value in the textfield, even it prompts "Choose Load Balancer"

wangcarlton commented 3 years ago

Also an extra step after setting up the certificate/dns zone etc. to support https on the wordpress site Add following to wp-config.php: if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false) $_SERVER['HTTPS']='on'; Reference: https://docs.bitnami.com/aws/how-to/configure-elb-ssl-aws/