SSL cert doesn't exist for subdomains. Root site works correctly

I am having an SSL cert issue when accessing subdomains of kmpfr.co.
www.kmpfr.co works, but I get cert issues when accessing subdomains such as demo.kmpfr.co.

Please let me know exactly what I have to do to solve the SSL issue.

NOTE: I have a ‘rewrites’ in Vercel.json, but your AI seems to think it isn’t the issue:

  "rewrites": [
    {
      "source": "/widget",
      "destination": "/api/widget"
    }
  ],

Domains
(this did not show invalid configuration previously… not sure what changed)

When I click the “Enable Vercel DNS” button, I see

Thanks!

  • T

The domain troubleshooting guide can help with most custom domain configuration issues. You might be able to use that guide to solve it before a human is available to help you. Then you can come back here and share the answer for bonus points.

You can also use v0 to narrow down the possibilities.

Hi,

I don’t see demo.kmpfr.co is added to any project. Can you add it and let me know if you are still facing issue?

Note that adding *.example.com on project doesn’t mean it will be accessible using any-subdomain.example.com. You need to expilictly add the domain in the project, or specific deployment using alias.

I have a multi-tenancy app, so I need to SSL support for ANY subdomain.

I’ve changed some DNS/NS records on my registrar and will await propogation and reply back with the results.

2 Likes

I changed my DNS/NS settings in my registrar (Porkbun) and it seems to be working now.
FYI to others:

I removed all CNAME and A address records in my DNS settings. Here is my current config:

I then replaced my Nameservers with the following:

ns1.vercel-dns.com
ns2.vercel-dns.com

I then double checked that I had added the domains kmpfr.co and *.kmpfr.co in my Vercel Domains page.

After waiting a day for propogation, this seemed to solve the issue.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.