# Custom domain issues

**URL:** <https://community.auth0.com/t/custom-domain-issues/58676>\
**Category:** Get Help\
**Tags:** login, auth0, custom-domain\
**Created:** [March 1, 2021, 1:31pm UTC](https://community.auth0.com/t/custom-domain-issues/58676 "2021-03-01T13:31:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![linus1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/linus1/32/12931_2.png) [@linus1](https://community.auth0.com/u/linus1)\
**Post date:** [March 1, 2021, 1:31pm UTC](https://community.auth0.com/t/custom-domain-issues/58676/1 "2021-03-01T13:31:36Z")

</div>

Hi,

I’m trying to setup a custom domain but it still redirects me to the standard dev-xxxx domain? The verification has been approved and I have talked to the AWS support that confirms that the CName redirect is working fine. Currently, all traffic that is going to [login.mydomain.io](http://login.mydomain.io) is passed to the root ([mydomain.io](http://mydomain.io)). The AWS support told me the following:

“So yes, the redirect is coming from the website [dev-7jdgc7fy-cd-ha26vnlrxftvopkm.edge.tenants.eu.auth0.com](http://dev-7jdgc7fy-cd-ha26vnlrxftvopkm.edge.tenants.eu.auth0.com) telling the browser to go back to [https://charlieapp.io/](https://charlieapp.io/). So indeed, you would need to check the config at [auth0.com](http://auth0.com) to find where that redirect is being set”

What am I doing wrong? How do I fix this?

/Linus

---

<div class="post-metadata">

**Author:** ![ricardo.batista](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ricardo.batista/32/7711_2.png) [@ricardo.batista](https://community.auth0.com/u/ricardo.batista)\
**Post date:** [March 2, 2021, 12:44pm UTC](https://community.auth0.com/t/custom-domain-issues/58676/2 "2021-03-02T12:44:05Z")

</div>

Hi @linus1

Have you checked [Configure Features to Use Custom Domains](https://auth0.com/docs/custom-domains/configure-features-to-use-custom-domains) ?

You’ll also need to use the new custom domain in your authentication request. As an example, if you use one of Auth0’s SDKs, you’ll need to start the authentication request with your custom domain, as shown here: [Configure Features to Use Custom Domains](https://auth0.com/docs/custom-domains/configure-features-to-use-custom-domains#auth0-spa-sdk-auth0-js-and-other-sdks)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 17, 2021, 12:45pm UTC](https://community.auth0.com/t/custom-domain-issues/58676/3 "2021-03-17T12:45:02Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
