I've got a project that is located under 2 different domain. For instance

  1. world wide web.domain-one.com
  2. world wide web.domain-two.com

Both of them are pointing just one DNS that is located under www.domain-one.com. Now i'm creating index.php for domain-one and index.html for domain-two. So how do i take a look using htaccess and load the particular website landing page.

Note: both index.php and index.html are situated in same directory.