Hi all –
My first post here, and in the spirit of asking a good question to get a good answer, including details of what I’ve tried and how it doesn’t meet my expectations, I seem to have written quite a long post. Thanks in advance for your patience.
I’ve been using R for 20+ years, I have a current need to develop a website, and the RStudio - Hugo - GitHub - Netlify toolchain is appealing to me.
I already own several domain names registered via Pair Domains and hosted by Pair Networks. I have no desire to transfer the domain to another host.
After some (other) trials & tribulations, I have successfully deployed my build to a Netlify app, magnificent-sable-0aad45.netlify.app Now I am at the final stage, connecting the Netlify app to my domain name.
In Netlify, I see that I need to go to Domain Settings for my app, and add my primary domain. I attempt to add “www.psychdevsolutions.com”. Netlify adds that subdomain as well as the primary domain “psychdevsolutions.com”. But on the bare domain, Netlify warns me to “Check DNS configuration”; the link from that warning message suggests I need to add DNS records to my domain at my domain host - they recommend ALIAS, ANAME, or CNAME records. My domain host offers CNAME records, so I try that.
At my domain host, domain management is done through a user interface. I have no access to a command line for domain management actions. I add a CNAME record which requires me to identify a subdomain - “www” will work. I point that subdomain to apex-loadbalancer.netlify.com … but Netlify is still not happy. So I call my domain host support, they talk me through adding an .htaccess file that should redirect any “psychdevsolutions.com” to “www.psychdevsolutions.com”.
Netlify still shows the “Check DNS configuration” warning. Okay, so there is a fallback position - pointing an “A” record to the IPv4 address of the main Netlify load balancer.
Back at my domain host, I delete the CNAME record and added the recommended (fallback) A record. Again, however, I’m required to identify a subdomain, so Netlify still gives me the same “Check DNS configuration” warning.
Because I have the Check DNS configuration warning, Netlify also is “Waiting on DNS propagation” and “We can’t provision a [SSL/TLS] certificate until your DNS configuration is pointing at the Netlify servers and the changes have propagated.”
It occurs to me that a possible solution would be to tell Netlify to add only www.psychdevsolutions.com as the Custom Domain… unfortunately, when I remove custom domains and attempt to add just the subdomain, Netlify automatically adds the bare domain.
It seems I’m stuck in a vicious cycle.
-
I can’t tell Netlify to use only a subdomain, so I have to use the bare domain, but
-
I can’t tell my domain host to add a DNS record (A or CNAME) that affects only the subdomain, and
-
The .htaccess to redirect calls from the bare domain to the subdomain doesn’t appear to satisfy Netlify when it’s checking the DNS configuration
I am well aware that I know just enough about all this to be dangerous. I’m likely to ask clarifying questions, not because I’m not reading your instructions, but because the instructions may not be as clear and simple as you think. I appreciate any and all advice to solve my problem.
Thanks!
–David