TutorialesTutorials · PrincipianteBeginner
Conecta tu dominio propio (.com) a tu sitio en VercelConnect your own domain (.com) to your Vercel site
Tres pasos para dejar de usar .vercel.app y tener tu propio .com: añadir el dominio en Vercel, apuntar el DNS en tu registrador y esperar la propagación.Three steps to stop using .vercel.app and have your own .com: add the domain in Vercel, point the DNS at your registrar and wait for propagation.
- Vercel
Tu sitio ya está en internet con una URL .vercel.app. Ahora le ponemos un dominio propio como tunombre.com para que quede más profesional. Toca cada paso para abrirlo.
Your site is already online with a .vercel.app URL. Now let’s give it a custom domain like yourname.com so it looks more professional. Tap each step to open it.
Antes de empezar: necesitas tener tu sitio publicado en Vercel (guía) y un dominio comprado (Paso 1 de abajo).Before you start: you need your site published on Vercel (guide) and a domain purchased (Step 1 below).
1 Compra tu dominioBuy your domain
Si ya tienes un dominio, salta al Paso 2.
Un dominio es la dirección que la gente escribe para llegar a tu sitio (ej. miportfolio.com). Lo compras en un registrador, una tienda de dominios. Algunas opciones populares:
| Registrador | Precio .com aprox. | Nota |
|---|---|---|
| Namecheap | ~$10–12 / año | Interfaz sencilla, ideal para empezar |
| Cloudflare Registrar | ~$9–11 / año | Sin comisiones extra, muy técnico |
| GoDaddy | ~$12–15 / año | El más conocido; cuidado con las renovaciones |
Precios aproximados en USD. Pueden cambiar. Confirma el precio final en la página oficial del registrador antes de comprar.
Para elegir tu dominio:
- Corto y fácil de recordar.
- Evita guiones y números.
- El
.comes el más reconocido, pero.io,.coo.nettambién funcionan.
If you already have a domain, skip to Step 2.
A domain is the address people type to reach your site (e.g. myportfolio.com). You buy it at a registrar, a domain store. Some popular options:
| Registrar | .com price approx. | Note |
|---|---|---|
| Namecheap | ~$10–12 / yr | Simple interface, great for beginners |
| Cloudflare Registrar | ~$9–11 / yr | No markup, more technical |
| GoDaddy | ~$12–15 / yr | Most well-known; watch out for renewals |
Approximate prices in USD. Subject to change. Confirm the final price on the registrar’s official page before buying.
Tips for choosing your domain:
- Short and easy to remember.
- Avoid hyphens and numbers.
.comis the most recognized, but.io,.coor.netalso work.
2 Añade el dominio en VercelAdd the domain in Vercel
- Entra a https://vercel.com/dashboard e ingresa a tu proyecto.
- Ve a la pestaña Settings → Domains.
- Escribe tu dominio (ej.
miportfolio.com) en el campo y haz clic en “Add”. - Vercel te mostrará los registros DNS que necesitas configurar. Hay dos métodos:
- Registros DNS (A y/o CNAME): el más común, lo configuras en tu registrador.
- Nameservers de Vercel: delegas el dominio completo a Vercel (más simple si no sabes de DNS).
Elige el que más te convenga. Vercel muestra los valores exactos que debes copiar. Sigue con el Paso 3.
- Go to https://vercel.com/dashboard and enter your project.
- Go to the Settings → Domains tab.
- Type your domain (e.g.
myportfolio.com) in the field and click “Add”. - Vercel will show you the DNS records you need to configure. There are two methods:
- DNS records (A and/or CNAME): the most common, you configure them at your registrar.
- Vercel nameservers: you delegate the whole domain to Vercel (simpler if you don’t know DNS).
Choose what works best for you. Vercel shows the exact values to copy. Continue with Step 3.
3 Apunta el DNS en tu registradorPoint the DNS at your registrar
Ve al panel de tu registrador (Namecheap, GoDaddy, etc.) y busca la sección de DNS o Gestión de DNS.
Opción A, Registros DNS (recomendada):
Añade los registros que Vercel te indicó. Normalmente son:
- Para el dominio raíz (
miportfolio.com): un registro A con la IP76.76.21.21 - Para el subdominio
www: un registro CNAME apuntando acname.vercel-dns.com
Los valores exactos los da Vercel en Settings → Domains. Úsalos tal cual, pueden variar.
Opción B, Nameservers de Vercel:
En la sección de nameservers de tu registrador, reemplaza los actuales por los que Vercel te indicó (normalmente dos o tres servidores ns1.vercel-dns.com, ns2.vercel-dns.com, etc.).
Guarda los cambios en tu registrador.
Go to your registrar’s panel (Namecheap, GoDaddy, etc.) and find the DNS or DNS Management section.
Option A, DNS records (recommended):
Add the records Vercel gave you. They’re usually:
- For the root domain (
myportfolio.com): an A record pointing to76.76.21.21 - For the
wwwsubdomain: a CNAME record pointing tocname.vercel-dns.com
The exact values are shown by Vercel in Settings → Domains. Use them as-is, they may vary.
Option B, Vercel nameservers:
In your registrar’s nameservers section, replace the current ones with those Vercel gave you (usually two or three servers like ns1.vercel-dns.com, ns2.vercel-dns.com, etc.).
Save the changes at your registrar.
4 Espera la propagación y confirmaWait for propagation and confirm
Los cambios de DNS tardan en propagarse por internet:
- Con registros A/CNAME: normalmente entre 5 y 30 minutos.
- Con nameservers: puede tardar hasta 24–48 horas (lo normal es menos de 24 h).
Cómo saber que funcionó:
- En Vercel → Settings → Domains, el dominio mostrará un tic verde y dirá “Valid configuration”.
- Escribe tu dominio en el navegador y verás tu sitio.
Mientras esperas puedes seguir usando la URL .vercel.app, funciona en paralelo.
DNS changes take time to propagate across the internet:
- With A/CNAME records: usually between 5 and 30 minutes.
- With nameservers: can take up to 24–48 hours (usually less than 24 h).
How to know it worked:
- In Vercel → Settings → Domains, the domain will show a green check and say “Valid configuration”.
- Type your domain in the browser and you’ll see your site.
While you wait you can keep using the .vercel.app URL, it works in parallel.
Si algo sale malIf something goes wrong
| Problema | Solución |
|---|---|
| El dominio sigue sin funcionar tras 48 h | Revisa que los registros DNS estén exactamente como Vercel indicó; un carácter de diferencia lo rompe |
| Vercel dice “Invalid configuration” | Vuelve a Settings → Domains, haz clic en el dominio y sigue exactamente los valores que muestra |
Tengo el www pero no el dominio raíz (o viceversa) | Añade los dos: el dominio raíz y www.tudominio.com por separado en Vercel |
| Mi registrador no me deja cambiar los nameservers | Usa la opción A (registros A/CNAME) en lugar de nameservers |
| El sitio muestra un candado rojo de seguridad | Vercel activa HTTPS solo automáticamente; espera unos minutos más |
| Problem | Fix |
|---|---|
| Domain still not working after 48 h | Check that the DNS records are exactly as Vercel specified; one wrong character breaks it |
| Vercel says “Invalid configuration” | Go back to Settings → Domains, click the domain and follow exactly the values it shows |
I have www but not the root domain (or vice versa) | Add both: the root domain and www.yourdomain.com separately in Vercel |
| My registrar won’t let me change nameservers | Use Option A (A/CNAME records) instead of nameservers |
| The site shows a red security lock | Vercel activates HTTPS automatically on its own; wait a few more minutes |