hello, I was hoping someone could help me out. I work for a company with a mail server and a name registered to it. for security reasons, our website exists in another location, with a different name. I was wodering if I could use a CNAME record to forward all web requests going to the mail server with the original name to the web server with the new name, without blocking any traffic to the mail server.

address.com IN CNAME newlongeraddress.selfip.net

will redirect all requests to the first name to the second name, right?

I was wondering if

address.com 80 IN CNAME 80 newlongeraddress.selfip.net

will redirect only port 80 traffic going into the mail server to the webserver with the new name.