I have purchased a domain from google domains like mysampledomain.com
I also have launched a WordPress application on AWS Fargate using this guide https://aws.amazon.com/blogs/containers/running-wordpress-amazon-ecs-fargate-ecs/
As a result, I have a url as below that says Hello World on a GET request
http://wof-load-balancer-XXXXXXX.ca-central-1.elb.amazonaws.com/
I am wondering how can I route traffic from mysampledomain.com
to it?
CodePudding user response:
You need to point a CNAME record to your ELB DNS name. However Google Domains doesn't support apex CNAME records. It looks like the best you can do is create a www
CNAME record, and add a redirect in Google Domains from the root to the www
subdomain.