A record @ -> webservers IP
CNAME www -> maindomain.com
When i insert the domain name as the url it redirects to my webserver’s ip.
maindomain.com => webserversip
It’s kind of working, I’m being redirected but it’s exposing my ip and I have no idea why.