# Update to internal\_domain\_name in public.yml

**URL:** <https://forum.dimagi.com/t/update-to-internal-domain-name-in-public-yml/9153>\
**Category:** Developers\
**Created:** [August 1, 2022, 11:44am UTC](https://forum.dimagi.com/t/update-to-internal-domain-name-in-public-yml/9153 "2022-08-01T11:44:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![erobinson](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/erobinson/32/2652_2.png) [@erobinson](https://forum.dimagi.com/u/erobinson)\
**Post date:** [August 1, 2022, 11:44am UTC](https://forum.dimagi.com/t/update-to-internal-domain-name-in-public-yml/9153/1 "2022-08-01T11:44:29Z")

</div>

I've updated the internal\_domain\_name setting in my public.yml environment file. What's the best way to apply that? I see update-config doesn't seem to do anything.  
Thanks!

---

<div class="post-metadata">

**Author:** ![erobinson](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/erobinson/32/2652_2.png) [@erobinson](https://forum.dimagi.com/u/erobinson)\
**Post date:** [August 3, 2022, 6:18pm UTC](https://forum.dimagi.com/t/update-to-internal-domain-name-in-public-yml/9153/2 "2022-08-03T18:18:41Z")

</div>

Apologies for bumping this - we have an urgent issue on a server that is having trouble sending mail and I wondered if this was to blame. Do I need to do a full deploy?  
Thanks!

---

<div class="post-metadata">

**Author:** ![Simon\_Kelly](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/simon_kelly/32/494_2.png) [@Simon\_Kelly](https://forum.dimagi.com/u/Simon_Kelly)\
**Post date:** [August 4, 2022, 7:32am UTC](https://forum.dimagi.com/t/update-to-internal-domain-name-in-public-yml/9153/3 "2022-08-04T07:32:38Z")

</div>

Hi Ed

You would need to run the following commands:

```auto
cchq <env> ap deploy_common.yml

```

If you've only changed that one variable you should only expect to see changes to the `/etc/hosts` files on each machine.

---

<div class="post-metadata">

**Author:** ![erobinson](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/erobinson/32/2652_2.png) [@erobinson](https://forum.dimagi.com/u/erobinson)\
**Post date:** [August 4, 2022, 9:36am UTC](https://forum.dimagi.com/t/update-to-internal-domain-name-in-public-yml/9153/4 "2022-08-04T09:36:54Z")

</div>

Thank you Simon, very helpful as usual 👍☀
