How do I map two domains to the same wordpress installation?

I don’t think you can do this without some technical intervention. Basically, WordPress uses the site name that you provide in your WordPress Settings (and is saved to the database) to generate the links for your website.

Here is what I just thought of:

  1. Create a plugin to solve this problem.

  2. The plugin will detect the referral site.

  3. you add a hook to the “home_url” filter to change your site url just for the current session