DEV Community

Cover image for From Custom Domain to Vercel Subdomain: How I Recovered My SEO Rankings
ImranParthib
ImranParthib

Posted on

From Custom Domain to Vercel Subdomain: How I Recovered My SEO Rankings

When my .me domain expired, I thought my SEO was doomed. Here's how I rebuilt my search presence on a Vercel subdomain and the lessons I learned.

Picture this:

You’ve spent months perfecting your portfolio. Your SEO is dialed in, and your custom domain imranparthib.me is ranking beautifully on Google. Things are looking great, right?

I got that domain thanks to the GitHub Student Developer Pack. You can grab a .me, .tech, or .live domain for free for one year β€” pretty sweet deal, right?

Then... life happens. And just like that, my domain expired.
One minute I was cruising along, and the next β€” my carefully built online presence vanished from search results.

I suddenly found myself with a new home:
imranparthib.vercel.app β€” and zero SEO authority.

Vercel


🀞 The Naive Hope

My first thought?

β€œI’ll just update my metadata.js file, and Google will figure it out.”

// What I thought would work πŸ€”
export const siteConfig = {
  name: "Imran Parthib",
  url: "https://imranparthib.vercel.app", // Just change this, right?
  // ...rest of config
};
Enter fullscreen mode Exit fullscreen mode

Spoiler alert: It wasn’t as simple as I thought... πŸ˜…

Weeks went by, and my site was still nowhere to be found on Google.

After digging into it, here’s what I realized:
Google saw imranparthib.vercel.app as a completely new website.

That meant Google had to rediscover it, crawl it, and index it from scratch.

Why This Matters for Developers:

  • 1. Authority Reset: I lost all SEO history and trust signals.
  • 2. Subdomain Treatment: Google treats subdomains like separate sites, so my new Vercel subdomain started from scratch.
  • 3. Fresh Start: My site was like a brand new website with zero domain authority.

βœ… The Solution: Proper SEO Setup for Vercel Subdomains
Here’s what actually worked for me:

  1. Add Your Site to Google Search Console (The Right Way)
  • βœ… Use the URL Prefix method: https://yourname.vercel.app
  • ❌ Don’t use the Domain Property method β€” it doesn’t work for .vercel.app subdomains.
  1. Verify Using an HTML Meta Tag I used my metadata.js to insert the verification tags:
export const defaultMetadata = {
  // ... other metadata
  verification: {
    google: "your-google-verification-code",
    bing: "your-bing-verification-code",
  },
};
Enter fullscreen mode Exit fullscreen mode
  1. Submit Sitemap.xml
  • In Google Search Console:

    • Go to Sitemaps
    • Enter sitemap.xml
    • Click Submit
  1. Manual Indexing for Key Pages Use the "URL Inspection" tool in GSC:
  • /
  • /about
  • /projects
  • /blog

Request indexing manually for each important page.

  1. Bonus: Bing Webmaster Tools πŸ’‘ If you’ve verified with Google Search Console, you can import directly into Bing β€” no need for extra verification.

πŸ“† Results Timeline
Here’s how things played out for me:

Time What Happened
βœ… Day 1 Verification successful
βœ… Day 2–3 First crawling detected
βœ… Week 1–2 Main pages indexed
βœ… Week 3–4 Started ranking in Google again πŸŽ‰

βœ… Vercel Subdomain SEO Checklist

You can copy and use this in your own project README:

  • Add site to Google Search Console (URL Prefix method)
  • Verify using HTML meta tag
  • Submit sitemap.xml
  • Request indexing for key pages
  • Import into Bing Webmaster Tools
  • Optimize metadata with relevant keywords
  • Monitor progress via Search Console
  • Publish quality content consistently

🧠 Final Thoughts
Losing my custom domain felt like a disaster, but it turned into a huge learning experience.

Sure, your domain might change β€” but your online presence doesn’t have to disappear if you follow the right steps.
Vercel subdomains can rank, but it requires patience and the proper setup.

πŸ‘¨β€πŸ’» About Me
I'm Imran Parthib, a React & Next.js developer focused on building performant web applications.

🌐 Portfolio: imranparthib.vercel.app
πŸ™ GitHub: Imran Parthib
πŸ’Ό LinkedIn:Imran Parthib

Top comments (0)