The URL you share is part of the first impression. yourusername.github.io/my-project tells people you are experimenting. yourproject.com tells them this is real. Not long ago, getting to that second URL meant paying for hosting every month on top of the domain. Vercel changed that. Your domain costs around ten dollars a year. Hosting is free. By the end of this SOP, you will have both.
-
A domain registrarA domain registrar is where you buy and manage your domain name. Good options are Namecheap, Porkbun, and Cloudflare. A
.comdomain costs between $8 and $15 per year. Pick whichever you prefer. The process is the same on all of them. -
VercelVercel is a hosting platform that connects directly to your GitHub repository. Every time you save a change to GitHub, your site updates on its own. No extra steps. Think of it as GitHub Pages but with more room to grow. The free plan covers everything you need.
.com is taken, try .co or .io. Both work just as well. Add it to your cart and complete the purchase. You now own a domain name. Next you will point it to your project.your-project.vercel.app. Open it and confirm your site is there. From now on, every time you push a change to GitHub, Vercel updates your live site automatically. No more manual uploads.DNS is the step that takes the most patience. It is not difficult. It just takes time.
-
The domain is not loading yetThis is almost always DNS propagation. It can take up to 24 hours. Wait and try again in an incognito tab. Do not keep changing the settings. Every time you do, the clock resets.
-
Vercel shows an error on your domainGo back to Vercel's Domains settings and compare the DNS records it asks for against what you entered at your registrar. A single typo will break it. Copy and paste the values, do not type them manually.
-
HTTPS is not workingVercel handles HTTPS automatically, but it needs the domain to be fully connected first. Once the green checkmark appears next to your domain in Vercel, HTTPS will activate on its own within a few minutes.
That is your project with a real address on the internet. A domain that is yours. For Marta's website, the domain would be something like www.martafotografia.com. That is the kind of URL that makes her photography business feel real and professional. Since Marta is a fictional character we created for this course, I am not going to buy that domain. We will keep using the GitHub Pages URL for the rest of the examples. But when you do this for your own project, the domain is the step that makes it feel like yours.
Buy a domain, create a Vercel account, connect your GitHub repository, and point your domain to Vercel. Test it from an incognito tab before calling it done.