Two domains .net and .com

I was wondering if anyone in the community as made both their domains (website.com & website.net)  point to same elgg installation - where a Elgg user can both log into the .com and .net domains of the elgg installation, and the web address changes in appropriate browser address bar without using IP redirection.

I really appreciate if someone has ever come across in doing this and share some hints in getting that to work.... modification of the .htaccess file?