Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Incubator Q&A

Welcome to the staging ground for new communities! Each proposal has a description in the "Descriptions" category and a body of questions and answers in "Incubator Q&A". You can ask questions (and get answers, we hope!) right away, and start new proposals.

Are you here to participate in a specific proposal? Click on the proposal tag (with the dark outline) to see only posts about that proposal and not all of the others that are in progress. Tags are at the bottom of each post.

Post History

66%
+2 −0
Incubator Q&A Why won't setting a CNAME DNS record for the domain apex work?

I am setting up a domain that uses a CNAME record so that is hosted on the same server as another site. I seem to be able to set up the www subdomain just fine with a CNAME but I'm having trouble ...

1 answer  ·  posted 1y ago by Stephen Ostermiller‭  ·  edited 1y ago by Stephen Ostermiller‭

#3: Post edited by user avatar Stephen Ostermiller‭ · 2023-07-20T15:43:39Z (over 1 year ago)
#2: Post edited by user avatar Stephen Ostermiller‭ · 2023-06-14T10:22:51Z (over 1 year ago)
#1: Initial revision by user avatar Stephen Ostermiller‭ · 2023-06-13T07:33:21Z (over 1 year ago)
Why won't setting a CNAME DNS record for the domain apex work?
I am setting up a domain that uses a `CNAME` record so that is hosted on the same server as another site.  I seem to be able to set up the `www` subdomain just fine with a `CNAME` but I'm having trouble with bare domain name (where there is no subdomain at the domain apex).

### Desired records for `mydomain.example`

 - `@` `CNAME` to `otherdomain.example`
 - `www` `CNAME` to `otherdomain.example`
 - `@` `MX` to `mail.myemailhost.example`

I've now tried to set this up with several DNS hosts.  Most won't even allow me to use a `CNAME` for the domain apex.  I did find one that allows it, and it seems to kinda work, but now email for my domain doesn't get delivered properly.

Is it even possible to use a `CNAME` for the domain apex?  It doesn't seem to work for me.