When i am create cname record for www to non www and turn on the proxy it's not working the nginx configuration of my server not redirect to non www domain and when i turn off the proxy it's work i didn't understand that?

when i am create cname record for www to non www and turn on the proxy it’s not working the nginx configuration of my server not redirect to non www domain and when i turn off the proxy it’s work i didn’t understand that?

Hello,

CNAMES do not redirect, they are basically regular A records but don’t hold an IP address but a hostname with the eventual address.
You want to point the host to a machine on your local network? Make sure that machine is actually accessible from the outside, then you only need the IP address.

Regards

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