DEV Community

Reishi Mitani
Reishi Mitani

Posted on

1

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

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay