I am trying to point my subdomain to an EC2 Server.
I added the following DNS entries on my registry.
- A Record test1 => EC2 Elastic IP Address
- C Name test2 => xxxxx-amazonaws.com
When I test them, both test1.example.com and test2.example.com go to the EC2 Server. However, the address in the web browser changes to xxxxxx-amazonaws.com.
How can I keep them as test1.example.com and test2.example.com?