Technically, the redirection is done by a web server using HTTP.
So you have the following:
1. A registered domain name
2. Domain name service (DNS) with entries pointing
www., etc. to a server's IP address
3. A server (virtual web host) with an index.html file having the invisible frame or just a straight redirect to your .mac page.