Zappa + Django + CloudFront + Route 53 => Multiple domain names

Using Zappa, I’ve just moved over an app from EC2 to Lambda, upgrading the app along the way from Django ~1.4 to 1.11, and python to 3.61 (from 2.7).

I’ve followed this rather nice tutorial.

For domain names, I followed that tutorials advice, specifically, ‘Option 1’, using ‘Route 53 and ACM’. The guide did warn though that you could only use one domain name with this approach (see below; below pic taken from the guide).

 

Via sheer luck/stubbornness, I’ve got 2 domains working via Route 53 (note A value is identical to NAME value):

 

I also added in our additional domain name below in CloudFront.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *