# How to cancel auto-redirecting when serving a single instance on two domains

**URL:** <https://meta.discourse.org/t/how-to-cancel-auto-redirecting-when-serving-a-single-instance-on-two-domains/271825>\
**Category:** Self-hosting\
**Created:** [July 17, 2023, 8:50am UTC](https://meta.discourse.org/t/how-to-cancel-auto-redirecting-when-serving-a-single-instance-on-two-domains/271825 "2023-07-17T08:50:05Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![kenjdarhan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kenjdarhan/32/298019_2.png) [@kenjdarhan](https://meta.discourse.org/u/kenjdarhan)\
**Post date:** [July 17, 2023, 8:50am UTC](https://meta.discourse.org/t/how-to-cancel-auto-redirecting-when-serving-a-single-instance-on-two-domains/271825/1 "2023-07-17T08:50:05Z")

</div>

I have deployed discourse on two websites, xxxx.com.jp and [xxxx.com](http://xxxx.com).

When I put a .com.jp link in posts in the [xxxx.com](http://xxxx.com) website, and when I click on the link, I am auto directed to the .com conterpart.

I do not want the auto-direction to happen. Can anyone tell me how to set that?

Thanks.

---

_[View the full topic](https://meta.discourse.org/t/how-to-cancel-auto-redirecting-when-serving-a-single-instance-on-two-domains/271825)._
