Any way to set up AWS Cloudfront to point to static IP address (WP hosted on GoDaddy)? Any way to set up AWS Cloudfront to point to static IP address (WP hosted on GoDaddy)? wordpress wordpress

Any way to set up AWS Cloudfront to point to static IP address (WP hosted on GoDaddy)?


Make up a new hostname. If your domain is example.com, then call it origin.example.com. The name doesn't actually matter as long as it's currently unused and is in a domain you control.

Create an A record in Route 53 pointing origin.example.com to the IP address of your server.

Then, in CloudFront, set the Origin Domain Name to origin.example.com. Set the Origin Protocol Policy to "HTTP Only." In the Cache Behavior settings, whitelist the Host header for forwarding to the origin.

CloudFront will use that name to find the server's IP address via Route 53.