I am trying to setup my DNS records to do the following:
When user hits www.example.com they are directed to server with ip 1.1.1.1
When user hits example.com they are directed to server with ip 2.2.2.2
I have full control over server 1.1.1.1, where I set up the DNS:
A record for example.com. to 2.2.2.2
A record for www to 1.1.1.1
I'am not sure if the DNS got refreshed but when I hit www.example.com I am hitting the 2.2.2.2 and it displays a incorrect page as it is not set up to handle the www.example.com, but example.com only.
Thanks in advance,