Domain dns problem

please help, i just use a custom domain on my project, but it only work when i access the website with www.xxxx.dev but won’t work with xxxxx.dev , both the A and CNAME are connected succesfully.

Hey @coderblessing-gmailc. Do you see an error on the page or in the browser console? If there’s no error message, can you describe or share screenshots of what’s not working?

the only error on the page is, This site can’t be reached example.dev took too long to respond.. my website only work perfectly when i include www, i.e, ‘www.example.dev’ but not working with naked domain ‘example.dev’.

I had a similar issue in the past, and what helped was adding a CNAME record.

Type: CNAME
Name: www
Target: example.dev

When you create a CNAME record for www pointing to your root domain (example.dev), it tells the DNS resolver that www.example.dev should be treated as example.dev.

By adding the CNAME record, you ensure that all requests to www.example.dev are properly redirected to your root domain (example.dev). This unifies the DNS resolution for both cases, helping your website work with and without the www prefix.

Maybe something to try?

Hi Pawlean,

I am facing an issue with my domain configuration on Vercel. Despite following the necessary steps, my CNAME record is not propagating correctly, and my site is not working.

Domain Details:

Domain: topalxscoalaauto.ro
Vercel Project: topal-x-driving-school

DNS Configuration:

  1. A Record:
  • Type: A
  • Name: @
  • Value: 76.76.21.21
  1. CNAME Record:

Steps I Have Taken:

  1. I updated the nameservers to Vercel’s nameservers:
  1. I added the necessary A and CNAME records as mentioned above.
  2. I verified the DNS settings using DNS Checker, and while the A record has propagated correctly, the CNAME record for www.topalxscoalaauto.ro is not propagating successfully.
  3. I have also added a CAA record:

Issue:

  • The CNAME record is not visible or propagating correctly.
  • My site topalxscoalaauto.ro is not working, and SSL certification is not being detected.

I would appreciate any guidance or assistance to resolve this issue. Thank you in advance for your help!

Best regards, Cristina Stoian.

Hi @cristinast86! It looks like my colleague Amy replied to you in another thread. :smiley: Let’s continue the conversation there:

1 Like

Thank you for the reply @pawlean . Hopefully I’ll be able to acces the website in the next days. In case that will not happen I’ll reach again maybe we will find together a resolution. Thank you!

1 Like

Hello again,

I am experiencing an issue where JavaScript and manifest files are being served as HTML on my Vercel deployment. Despite following standard deployment procedures, the problem persists. Below are the details of my setup:

Project Name: TopalX
Deployment URL: https://topalx.vercel.app
vercel.json Configuration:

{
“version”: 2,
“builds”: [
{
“src”: “package.json”,
“use”: “@vercel/static-build”,
“config”: {
“distDir”: “build”
}
}
],
“routes”: [
{
“src”: “/static/(.)",
“dest”: “/static/$1”
},
{
“src”: "/(.
)”,
“dest”: “/index.html”
}
]
}

Build Output: The build completes successfully with no errors.
Errors in Browser Console:
Uncaught SyntaxError: Unexpected token ‘<’ at main.7be4878d.js:1
401 Unauthorized for manifest.json
Network Tab Screenshots:

Despite following standard procedures, the issue persists. Please find the screenshots and other relevant information attached.

I would appreciate assistance you can provide to resolve this issue.

Best regards,
Cristina Alexandra Stoian




Please let me know if you need any other details or screenshots. Thank you!

Dear Pauline,

I’m reaching back to you as although the A and NS are responding to propagation, I still don’t see a propagation on the CNAME, unfortunately. Despite following the instructions and waiting for the propagation period, the changes haven’t reflected, and the issue persists.

I have checked the DNS settings multiple times and even tried accessing the site from different locations, but the problem remains unresolved. This is causing significant delays in our project timeline, and I would appreciate any additional support or steps we can take to resolve this issue promptly…

Could you please provide further guidance or escalate this to ensure a quicker resolution?

Best regards,

Cristina Stoian.

Hi, @cristinast86!

Thank you for your patience. I see there’s two issues you’ve raised here, let’s break them down.

I still don’t see a propagation on the CNAME, unfortunately.

Does https://www.topalxscoalaauto.ro work for you? It works for me. :thinking:

I am experiencing an issue where JavaScript and manifest files are being served as HTML on my Vercel deployment.

Your vercel.json looks right to me! I looked at your site and it seems like you got to the solution in the end. Would you like to share what you did? :smiley:

Moving forward, please also create new posts in the community to help us better support you as the latter post wasn’t related DNS. Thanks a lot, @cristinast86!

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