I am trying to use virtual servers (instances) on Amazon EC2. I can assign (elastic) IP addresses to those instances and then assign my domain name to that IP.
However, I plan to use a load balancer. I know that due to some technical decisions, it is not possible to assign IPs to load balancers and I only get the url. The url is then translated to some IP address every time Amazon DNS servers receive a request (maybe based on region, etc.).
My problem is that I don't know how to use show my own domain name (e.g. "mydomain.com/items/abc.php" instead of load balancer url. When I use CNAME, the user is redirected to the load balancer's url ("load balancer url/items/abc.php") which is not what I want.
The solution that I have found is using Amazon Route 53 and set it as the DNS server of my domain. However, I prefer to keep my own DNS server. I am wondering if that's the only solution? And if that's the case, should I pay for Route 53 or it's free if I use EC2?