I run my own personal websites on a Dynamic IP address and do the inbound routing as follows:
- Create a subdomain at the ISP. I usually use www2.domain.com
- Redirect
www.domain.com to www2.domain.com
- Configure www2.domain.com's DNS to be a CNAME, with the CNAME record the DynDNS domain you created
This means traffic will be forwarded to www2.domain.com, which then - via DynDNS - resolves to the IP of the web server. Provided port 80 is open and the web server is listening correctly, the request should then be answered.
I don't do a CNAME directly on the
www.domain.com (although you could) because it causes issues with any email addresses for that domain.
-Matt