[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Help](/c/help/9)

# Custom domain redirecting to Vercel's default domain

193 views · 4 likes · 11 posts


Murilopicinato (@murilopicinato) · 2024-08-19

I've created a custom domain for one of my projects, but when I try to access it, it's redirected to Vercel's default domain.

Am I missing something?

I've already deleted the default domain from my project to see if it stops redirecting, but it's still doing it.


Amy Egan (@amyegan) · 2024-08-19

Hey @murilopicinato. Did you follow the [configuring a custom domain](https://vercel.com/docs/projects/domains/add-a-domain#adding-&-configuring-a-custom-domain) steps?

It sounds to me like an incorrectly configured DNS record. But there are some [troubleshooting domains](https://vercel.com/docs/projects/domains/troubleshooting#troubleshooting-domains) tips in the docs that can help you investigate the actual cause of the problem.


Murilopicinato (@murilopicinato) · 2024-08-20

Hey @amyegan.
I followed the steps correctly. I've done that a thousand times, but this time it is redirecting. I've removed the default domain from my project, but it's still redirecting.
I don't know what to do. All configurations are correct. Could you help, please?


Amy Egan (@amyegan) · 2024-08-20

If you let me know the domain, I can help you get more details


Murilopicinato (@murilopicinato) · 2024-08-20

Sure.

This is the domain:
app.walura.com.br


Murilopicinato (@murilopicinato) · 2024-08-20

By the way. I redirected the default domain to mine to avoid the problem. But I think this is not the best solution.


Amy Egan (@amyegan) · 2024-08-20 · ♥ 2

Since you changed something to avoid the problem, I can't get much detail about the original problem. However, I can see that the subdomain has both A and CNAME records which may be the cause your redirect issue.

- https://dnschecker.org/#A/app.walura.com.br
- https://dnschecker.org/#CNAME/app.walura.com.br

Here are some more resources that can help you get the domain configured for your project.
- [Subdomains, wildcard domains, and apex domains](https://vercel.com/docs/projects/domains/working-with-domains#subdomains-wildcard-domains-and-apex-domains)
- [Adding & Configuring a Custom Domain:  Subdomains](https://vercel.com/docs/projects/domains/add-a-domain#subdomains)
- [Misconfigured domain issues](https://vercel.com/docs/projects/domains/troubleshooting#misconfigured-domain-issues)
- [Common DNS issues](https://vercel.com/docs/projects/domains/troubleshooting#common-dns-issues)


Murilopicinato (@murilopicinato) · 2024-08-21

Hey, Amy.
Isn't this A record the result of pointing the CNAME record? Because everything seems to be configured correctly and I couldn't find this A record on my DNS server.


Amy Egan (@amyegan) · 2024-08-21

I really can't investigate the original issue as this point because the configuration was changed. Any info I find will be related to the new configuration. 

In addition to the links provided above, I recommend reviewing the following docs for more info on domains and configuration steps.

- [Redirecting domains](https://vercel.com/docs/projects/domains/deploying-and-redirecting#redirecting-domains)
- [Deploying your Domain](https://vercel.com/docs/projects/domains/deploying-and-redirecting#deploying-your-domain)
- [Programmatic redirects](https://vercel.com/docs/projects/domains/deploying-and-redirecting#programmatic-redirects)
- [Assigning a Domain to a Git Branch](https://vercel.com/docs/projects/domains/assign-domain-to-a-git-branch#assigning-a-domain-to-a-git-branch)
- [Troubleshooting domains](https://vercel.com/docs/projects/domains/troubleshooting#troubleshooting-domains)


Murilopicinato (@murilopicinato) · 2024-08-21 · ♥ 1

Right.
I removed the redirect configuration now.
Let's see if it keeps redirecting back to the default domain.

I'll let you know if that happens.


Amy Egan (@amyegan) · 2024-08-21 · ♥ 1

So far, so good! The site looks the same as it did before when I visit the subdomain. :tada: 

I just checked the status of `app.walura.com.br` and it shows `Valid Configuration` and is assigned to the production branch for your project.