# How to allow customs hosts in development mode

**URL:** <https://meta.discourse.org/t/how-to-allow-customs-hosts-in-development-mode/129958>\
**Category:** Development\
**Created:** [October 1, 2019, 2:45pm UTC](https://meta.discourse.org/t/how-to-allow-customs-hosts-in-development-mode/129958 "2019-10-01T14:45:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)\
**Post date:** [October 2, 2019, 1:57pm UTC](https://meta.discourse.org/t/how-to-allow-customs-hosts-in-development-mode/129958/2 "2019-10-02T13:57:41Z")

</div>

You can prepend `DISCOURSE_DEV_HOSTS=discourse_example_net` to the command that starts the unicorn server, or you can set the variable in your `~/.bashrc` (or the rc file of the shell you use).

---

_[View the full topic](https://meta.discourse.org/t/how-to-allow-customs-hosts-in-development-mode/129958)._
