How long would it take to indexed your new site.. Basically I have this main website but redirected to another URL.. it is possible to indexed the main site rather the redirected website

For example: domain1.com/page1 to domain2.com/page1..

I want only to have domain1.com/page1 indexed in SERP.