What to Do in Django After You Link a Route 53 Record to Elastic Beanstalk

greenteabiscuit

Reishi Mitani

Posted on August 14, 2020

What to Do in Django After You Link a Route 53 Record to Elastic Beanstalk

This is a continued post from here

In your django production settings, you will need to add the record to ALLOWED_HOSTS. Otherwise, your website when accessed will return a 400 bad request error.

ALLOWED_HOSTS = [
    'YOUR_PREVIOUS_LINK',
    'LINK_RECENTLY_ADDED',
]
Enter fullscreen mode Exit fullscreen mode

I kept forgetting this, so I thought I might as well leave a memo.

References

Mapping third party domain to aws elastic beanstalk

💖 💪 🙅 🚩
greenteabiscuit
Reishi Mitani

Posted on August 14, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related