Subdomains as account keys and domain pointers

Hi,

I have sucessfully implemented a “subdomain as account keys” following
the notes in here
Peak Obsession.

I want to know if this would still work for domain pointers. For
example, I now have the URL greg.domains.com to access my Rails app.
Then later, I decided to buy a new domain, www.greg.com. Can I just
point www.greg.com to greg.domains.com and appear that my application is
running in www.greg.com?

I’m developing in Windows. What setup is needed to test this in my
machine.

Thanks.

Greg Moreno
http://www.gaboogle.com