# Share login status between multiple hostnames

**URL:** https://meta.discourse.org/t/share-login-status-between-multiple-hostnames/289617
**Category:** Support
**Created:** [December 23, 2023, 9:28am UTC](https://meta.discourse.org/t/share-login-status-between-multiple-hostnames/289617 "2023-12-23T09:28:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![fokx](https://avatars.discourse-cdn.com/v4/letter/f/958977/32.png) [@fokx](https://meta.discourse.org/u/fokx)
#### Post date: [December 23, 2023, 9:28am UTC](https://meta.discourse.org/t/share-login-status-between-multiple-hostnames/289617/1 "2023-12-23T09:28:00Z")

</div>

### The story:

My forum’s domain got DNS-poisoned by my university ISP, so I registered a new domain and use it for Discourse. The old one is still in use(had been renewed for several years to expire) by utilizing @michaeld 's [discourse-multiple-hostnames](https://github.com/communiteq/discourse-multiple-hostnames) plugin and reverse proxy server.

### The problem:

How can I share the login status between multiple hostnames (though they are of **one** instance)? I know a simple solution to my problem is doing 301 redirect, by I do find this status sharing useful, e.g. using multiple reverse proxy servers in different hostnames with different BGP routing to the source server.
