I have a linux server hosting several virtual domains using Nginx. My ISP provides a dynamic IP and I am trying to avoid paying extra for a static IP. I am experimenting with a domain name purchased from 1and1. If I enter my server's current IP address as the A-record of the 1and1 domain everything works fine (but of course I would have to manually update the A-record when my ISP changes my IP address which is unexceptable.) I created a hostname with no-ip which automatically updates my IP adress. If I configure my 1and1 domain to use a frame redirect to my no-ip hostname I lose my domain name somewhere so that the browser shows my server's generic welcome page instead of the virtual domain index page.
So, my question is, How do I direct my 1and1 domain name to my server such that the request is directed to the appropriate virtual domain on my server while at the same time having my IP address automatically (and hopefully, instantly) updated?
Thanks in advance for any help.