# Issue with Adding Users from Multiple Domains on Self-Hosted Mattermost

**URL:** <https://forum.mattermost.com/t/issue-with-adding-users-from-multiple-domains-on-self-hosted-mattermost/18774>\
**Category:** Uncategorized\
**Created:** [June 10, 2024, 5:50am UTC](https://forum.mattermost.com/t/issue-with-adding-users-from-multiple-domains-on-self-hosted-mattermost/18774 "2024-06-10T05:50:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nitin](https://avatars.discourse-cdn.com/v4/letter/n/d78d45/32.png) [@nitin](https://forum.mattermost.com/u/nitin)\
**Post date:** [June 10, 2024, 5:50am UTC](https://forum.mattermost.com/t/issue-with-adding-users-from-multiple-domains-on-self-hosted-mattermost/18774/1 "2024-06-10T05:50:12Z")

</div>

Hi Team,

I’m using a self-hosted Mattermost instance on the “[cloudstorks.com](http://cloudstorks.com)” domain with the version detailed below. I am encountering an error when attempting to add users from multiple domains, specifically “[cloudstork.com](http://cloudstork.com)” (without the “s”) and “cloudstorks.in.” I have already added these domains to the “Restrict new system and team members to specified email domains:” setting in the “signup” section, but it is still not working.

Please assist us in resolving this issue.

**Mattermost Version:** 9.7.2  
**Database Schema Version:** 119  
**Build Number:** 8666739401  
**Database:** PostgreSQL

Thanks,  
Nitin

---

<div class="post-metadata">

**Author:** ![john.oliver](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/john.oliver/32/6436_2.png) [@john.oliver](https://forum.mattermost.com/u/john.oliver)\
**Post date:** [June 10, 2024, 4:38pm UTC](https://forum.mattermost.com/t/issue-with-adding-users-from-multiple-domains-on-self-hosted-mattermost/18774/2 "2024-06-10T16:38:29Z")

</div>

9.7.2 is a little out of date. 9.7.5 is out. I doubt that’ll resolve this, but it’s possible.

What does the mattermost.log say? Turn the LogLevel up to DEBUG, restart the service, tail out the log, try to add a user, and see what goes by.

Does that system successfully resolve those domian names?

---

<div class="post-metadata">

**Author:** ![nitin](https://avatars.discourse-cdn.com/v4/letter/n/d78d45/32.png) [@nitin](https://forum.mattermost.com/u/nitin)\
**Post date:** [June 10, 2024, 5:42pm UTC](https://forum.mattermost.com/t/issue-with-adding-users-from-multiple-domains-on-self-hosted-mattermost/18774/3 "2024-06-10T17:42:08Z")

</div>

Hi John,

Thanks for the reply.

It’s sorted after adding domains under the “User Management” → “Team” section.

Thanks,  
Nitin
