Multiple queries question

I am using WP_Query() in index.php file to display posts of our blog where the blog page is under (www.domain_name.com/blog/)

Now I have another page (www.domain_name.com/pastdeals/) and I need to have this page to use index.php also to display posts but from different post type

So is there anyway to can detect which page is calling index.php file dynamically (like and if statement for example) in order to know which query shall be executed in the index.php file?

Thanks in advance for your time