Use of CNAME to redirect http access

Marius - Roma 331 Reputation points

I am confused about the use of CNAME record to redirect the access to web sites.

In a lab environment I performed some tests using the DNS service on Windows Server 2019.

The DNS server is configured to use itself as its DNS server.

In the server hosting the DNS service I see that I can access via browser either and (either existing web sites).

In my DNS server I created a forward zone named add inside the zone I created a www CNAME record pointing to

Writing in my browser I would expect to access the page but this does not occur.

What is the mistake I am making?

A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,063 questions
0 comments No comments
{count} votes