- I have a website written in English and shown on www.example.com.
- The website is on a US server now (based on cPanel/WHM) at the IP address 192.0.2.0.
- I can manage the DNS of example.com using a control panel to add/modify any records: A, MX, etc. (Currently, all A records are obviously pointing to 192.0.2.0.)
I would like that when a person in the US visits www.example.com the website is shown by the server in US, but when a person in Europe visits, the website is shown by a server in the UK.
Is this possible using the same domain (with no sub domain redirections such as us.example.com and uk.example.com) by simply adding/modifying DNS records?
If (1) is YES, how do I set up the DNS records of www.example.com in order to accomplish this?
If (1) is NO, are there other solutions available to accomplish this, and what are these solutions?