When I add NS (alone) from DigitalOcean suggested by every tutorials, error “ERR_NAME”
When I add NS then A record, I can’t (showing by the uploaded image)
When I add A record (alone), it does redirect but showing the IP which I does’nt want.
Sorry for this rookie question, I’m missing something ? Do I need to configure Digital Ocean’s side aswell ?
It’s a subdomain, Wordpress hosting on Digital Ocean. I have put NS records as suggested by tutorials.
I can’t put a CNAME because DigitalOceans gives IPs.
So you are saying it is a sub domain, by which you mean you’ll have further entries beneath blog.YOURDOMAIN and you want to delegate this to a third party nameserver, correct?
By hosted you mean the A records point to the provider in question, correct?
Your main domain does point to Cloudflare right now. The question is what do you want to do with blog. Should that just point to an IP address or should be a subdomain, where you can delegate further host records (i.e a.blog.DOMAIN, b.blog.DOMAIN etc.)?
For the blog, I just need to point to an IP address , I have put an A record (which is the DigitalOcean’s address) but I got redirected : blog.blockchainlabs.fr
Blog should point to : http://142.93.34.123/ (which is Digital Ocean IP’s address)
It’s working but as you may notice, when you go to blog.blockchainlabs.fr, it redirects you to this address.
Alright, then you create an A record pointing to that address (optionally you can proxy it with if you want that)
Thats not a DNS issue though, but an HTTP one. The server at that address simply sends a redirect to the address. That could be either because of a missing virtual host or some other configured redirect and is something you need to fix on that server. DNS is unrelated in this context.