hey notorious, I believe I understand what you are trying to do, forgive me if i don't.
Set both domains to be fully hosted.
For example2.com set the web directory to: /home/username/example2.com
For example1.com set the web directory to: /home/username/example2.com/dir/
be sure to run any cgi for either domain as the same user to avoid any permission problems.