If I understand your request correctly then the answer is probably "no". One Moodle site is supposed to be accessed via one and only one URL. The site URL defined in config.php as $CFG->wwwroot use to be hardcoded in the database (not as much as in Moodle 1.x thanks to the new File API but still).
Some folks try to mimic this behaviour via some hacks in config.php that set wwwroot according the referrer. But I guess more work has to be done in cron and other parts of Moodle that deal with URL in the background.