Ramnagar is a common base for trips to Corbett. Uttarakhand Tourism identifies Ramnagar as the closest railhead to the national park. Check current rail schedules before making plans.
If travelling from Delhi, Noida, Gurugram or Meerut by road, choose your destination address first: resorts around Dhikuli and Mohaan are in different directions from Ramnagar. Confirm travel time using a current map and leave extra time when connecting to a safari permit.
A resort stay and a safari entry gate are different destinations. Ask for the exact property address and the gate listed on your permit before arranging a transfer.
Reference & further information
More practical guides 
