#For the multi-tenancy feature, do I need my name servers as vercel for wildcard domain?
1 messages · Page 1 of 1 (latest)
Hi @desert pike. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Yes, if you want to use a wildcard domain for your multi-tenant application on Vercel, you must use the Nameservers method for verification. This is because Vercel needs to be able to set DNS records in order to generate the wildcard certificates. The service that Vercel uses to generate these certificates requires verification of domain ownership using the DNS-01 challenge method. By changing the nameservers, Vercel will handle the DNS-01 challenge for you automatically, and you won't need to update your verification DNS record upon your certificate renewal each time [source (https://vercel.com/guides/why-use-domain-nameservers-method-wildcard-domains)].
To add a wildcard domain, you can follow the steps in the Adding a domain (https://vercel.com/docs/projects/domains/add-a-domain#using-wildcard-domain) guide. When adding your domain, prefix it with *. (for example, *.acme.com) [source (https://vercel.com/docs/projects/domains/add-a-domain)].
Please note that for non-wildcard domains, the verification is done using the HTTP-01 challenge method, so you don't need to use this nameservers method [source (https://vercel.com/guides/why-use-domain-nameservers-method-wildcard-domains)].
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@desert pike kapa.ai is still learning and improving, please let us know how it did by reacting below
@clever widget how do I migrate the domain from AWS to Vercel?
Let me check the knowledge base for you. One moment! :books:
To migrate your domain from AWS to Vercel, you need to follow these steps:
-
Verifying Transfer Eligibility: According to ICANN rules, a domain must be registered with a registrar for 60 days before it can be transferred to another. You will need to confirm this with your registrar before attempting the transfer to Vercel. If the domain has not been registered with the current registrar for at least 60 days, the domain transfer will fail [source (https://vercel.com/guides/how-do-i-transfer-my-domain-to-vercel)].
-
Unlock the Domain: Once you have verified your domain's eligibility to transfer, proceed with unlocking your domain in your registrar's domain settings. Most domains are usually locked by default to prevent unauthorized changes. If this option is not available, contact your registrar to change this [source (https://vercel.com/guides/how-do-i-transfer-my-domain-to-vercel)].
-
Obtain Authorization Code: After unlocking the domain, you will need to obtain an authorization code. This may be available in the domain registrars dashboard. If it is not available, contact your registrar to obtain this [source (https://vercel.com/guides/how-do-i-transfer-my-domain-to-vercel)].
-
Transferring to Vercel: After obtaining the authorization code, click on the Transfer in button in the Vercel Domains Dashboard and enter in your domain and respective authorization code [source (https://vercel.com/guides/how-do-i-transfer-my-domain-to-vercel)].
- DNS Transfer: After activating a domain transfer-in, you will be informed that the DNS settings for your domain will not be transferred along with the domain. Instead, you will need to download a zone file from your registrar and upload it to Vercel. You can import the zone file to Vercel DNS by running the following command:
vercel dns import [your-domain] [zonefile]
[source (https://vercel.com/guides/transferring-domains-to-vercel)].
- Deploying with the Domain: You can deploy your app with Vercel once the domain has been successfully added to your account. By setting a production domain from your projects' Domains dashboard, you will be able to use the following command with Vercel CLI:
vercel --prod
[source (https://vercel.com/guides/transferring-domains-to-vercel)].