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

[Help](/c/help/9)

# The domain [domain] can't be found under [project]

115 views · 3 likes · 4 posts


Tianhuil (@tianhuil) · 2024-08-27

Hi -- I have been running

```
bun vercel dns import [domain] [zone file]
```
but it keeps on telling me

```
The domain [domain] can't be found under [team]
```

Some notes:
1. When I go to https://vercel.com/[team]/[project]/settings/domains, I am able to see the domain listed there.
2. I am calling the `vercel` command from a linked project folder.
3. The domain is purchased on GoDaddy but I have pointed the nameservers to Vercel and I have a subdomain pointing a deploy on this project (from the GUI).
4. This works for my other ones purchased on namecheap where I have pointed the nameservers to Vercel.  I noticed that those other ones are listed as "Account Domains" whereas the current one is not (see image below).  I think this is a legacy issue as I cannot move this new domain to become an "Account Domain"
![image|211x314](upload://rvnHhuzUvbcX1G6hRAVKBSZ2pL.png)


How can I rectify this situation?


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

Hi @tianhuil. It sounds like a team scope issue. You can use the [`vercel switch` command](https://vercel.com/docs/cli/switch#vercel-switch) or the [`--scope` option](https://vercel.com/docs/cli/global-options#scope) to change to the correct team scope. Please give that a try and let me know if it works for you.


Tianhuil (@tianhuil) · 2024-08-27 · ♥ 1

Thank you so much @amyegan for that super fast response this late at night!  That worked!

Vercel should really change the error because my new command is 

```bash
vercel --scope [team] DNS import ...
```

But the error when I didn't use `--scope [team]` said the domain could not be found under `can't be found under [team]`.  The error is confusing because it made me think the tool figured out the right team and didn't need me to supply it under the scope.


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

I'm glad it worked for you! And I'll share your feedback with the CLI team :smile: