# Enterprise integration use old domains despite custom domains?

**URL:** <https://community.auth0.com/t/enterprise-integration-use-old-domains-despite-custom-domains/10724>\
**Category:** Get Help\
**Tags:** auth0-lock\
**Created:** [April 8, 2018, 2:26pm UTC](https://community.auth0.com/t/enterprise-integration-use-old-domains-despite-custom-domains/10724 "2018-04-08T14:26:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kostya](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@kostya](https://community.auth0.com/u/kostya)\
**Post date:** [April 8, 2018, 2:26pm UTC](https://community.auth0.com/t/enterprise-integration-use-old-domains-despite-custom-domains/10724/1 "2018-04-08T14:26:14Z")

</div>

Hi  
We would like to move to custom domains to have better security for database connections (third party cookies stuff).  
However we have many enterprise connections configured that still use the old [https://xxxx.auth0.com](https://xxxx.auth0.com) domains.  
It appears that once custom domains are enabled and the lock is configured to use them the enterprise connections are broken (mismatching callback url).  
Is it possible to have the enterprise connections keep using the old auth0 domains and only use the custom domain for the database connections?

Thanks

---

<div class="post-metadata">

**Author:** ![kimcodes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kimcodes/32/81052_2.png) [@kimcodes](https://community.auth0.com/u/kimcodes)\
**Post date:** [April 23, 2018, 4:42pm UTC](https://community.auth0.com/t/enterprise-integration-use-old-domains-despite-custom-domains/10724/3 "2018-04-23T16:42:36Z")

</div>

👋 @kostya this is a good question and I would be happy to check if custom domains can be used for DB connections while still maintaining your previous connection setup for enterprise. What sort of enterprise connections do you have? What does your setup currently look like? Feel free to direct message me if you prefer!

---

<div class="post-metadata">

**Author:** ![kimcodes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kimcodes/32/81052_2.png) [@kimcodes](https://community.auth0.com/u/kimcodes)\
**Post date:** [September 6, 2018, 12:28pm UTC](https://community.auth0.com/t/enterprise-integration-use-old-domains-despite-custom-domains/10724/4 "2018-09-06T12:28:44Z")

</div>


