8000 Unable to add domain · Issue #570 · nuxt-hub/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Unable to add domain #570

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ChavaSobreyra opened this issue May 9, 2025 · 1 comment
Open

Unable to add domain #570

ChavaSobreyra opened this issue May 9, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@ChavaSobreyra
Copy link
ChavaSobreyra commented May 9, 2025

Describe the bug
When adding a domain, I'm instructed to add a CNAME @ my-app.pages.dev.

I'm getting an error when I try to do this on squarespace where I manage domains.

My understanding is that this is not a valid CNAME record, and will probably be a problem on other domain management providers.

Specifically, @ CNAME is not valid, as CNAMEs are only for sub domains.

https://datatracker.ietf.org/doc/html/rfc1034#section-3.6.2

Steps to reproduce
Steps to reproduce the behavior:

  1. Go to squarespace dns management
  2. Attempt to set the CNAME as instructed
  3. Observe UI error

Here's an error returned by squarespace I'm getting from the network tab.

{
    "type": "INVALID_REQUEST",
    "subtype": null,
    "message": "The resource record set 'entity.change.additions[myapp.app.][CNAME]' is invalid because resource records of type 'CNAME' are only allowed for sub-domains.",
    "details": {
        "errorId": "4c65764a-b4f0-47cc-999b-bcdcad8e949b"
    },
    "contextId": "Bzm71JrA/5O6rW377"
}

Expected behavior
The process for adding a domain should be updated to request and use valid dns records.

Ill try an alias record, but that forces me to turn off DNS security settings which is something I didn't need to do when using vercel.

I appreciate any help!

@ChavaSobreyra ChavaSobreyra added the bug Something isn't working label May 9, 2025
@kennyhei
Copy link
kennyhei commented May 12, 2025

I had also custom root domain and solved it this way:

NuxtHub Admin > Settings > Domains > Edit on Cloudfare

  1. Add your domain here if it does not exist already
  2. In DNS > Records > Check Cloudfare nameservers and add these to your DNS provider
  3. In DNS > Records, add
CNAME
Name: [your_custom_domain]
Content: [my-app].pages.dev

Now everything should be ok. For www-url, add that in NuxtHub Admin > Settings > Domains and in Cloudfare, add new Record with

CNAME
Name: www
Content: [my-app].pages.dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
0