Loading
Skim_67
0%
INITIALIZING
Album Cover
风を共に舞う気持ち
Falcom Sound Team jdk
0:00
Vercel Custom Domain Setup Guide
DOC_ID // 2676cdONLINE

Vercel Custom Domain Setup Guide

Sep 11, 2025
UPDATED: Oct 26, 2025
TECHNOLOGY SHARING
360 CHARS
#WEB DEV#推荐#PRACTICAL TUTORIAL
Skim_67
😀
This guide explains how to configure a custom domain (e.g., yourdomain.com) for projects deployed on Vercel, including resolving HTTPS certificate issues.

Vercel Custom Domain Setup Guide

🔗 Relevant Links

  1. Vercel Official Website
  1. Vercel Domain Management Documentation
  1. Cloudflare Official Website (Optional DNS Provider)

1️⃣ Prerequisites

  1. A project already deployed to Vercel
  1. Ownership of a domain
    1. notion image

2️⃣ Step 1: Add Domain in Vercel

  1. Log in to the Vercel Dashboard and select your project.
  1. Navigate to Settings → Domains.
  1. Enter your domain (e.g., yourdomain.com or blog.yourdomain.com) and click Add.
  1. Vercel will automatically detect the domain configuration and prompt you to set up DNS records.
notion image

3️⃣ Step 2: Configure DNS Records

Follow instructions based on your domain registrar:

A. Using Vercel’s Default DNS

  • In your registrar’s DNS settings, add these records:

    B. Using Cloudflare (Recommended)

    1. Log in to the Cloudflare Dashboard and add your domain.
    1. Under DNS Management, add a record:
      1. Ensure Cloudflare’s SSL/TLS mode is set to Full.
      notion image

      4️⃣ Step 3: Verify HTTPS Certificate

      1. Vercel automatically requests a Let’s Encrypt SSL certificate (may take 1–24 hours).
      1. Check certificate status:
          • View domain status in Vercel’s Domains section.
          • Test accessibility via https://yourdomain.com.
      1. If the certificate fails:
          • Manually retry certificate issuance in Vercel (click Refresh).
          notion image

      5️⃣ Advanced Configurations

      Redirects

      • Add rules to vercel.json to redirect www.yourdomain.com to yourdomain.com:

        Subdomains

        • To bind additional subdomains (e.g., docs.yourdomain.com), repeat Steps 1–2.

        ❌ Common Issues

        Q1: DNS Not Propagating

        • Check TTL settings (recommended: 600 seconds).

        Q2: HTTPS Certificate Errors

        • Disable Universal SSL in Cloudflare (may conflict with Vercel).
        • Remove and re-add the domain in Vercel.

        📌 Summary

        1. Add domain in Vercel → Obtain DNS records.
        1. Configure DNS with your registrar (A/CNAME records).
        1. Wait for HTTPS auto-provisioning.
        1. Test access at https://yourdomain.com.
        For registrars not listed (e.g., Tencent Cloud, Huawei Cloud), refer to Vercel’s official docs or contact their support.

         
        notion image
        NAVIGATION // Related Articles
        Loading...