 Yaphank station was originally built as Milleville station in 1845, and was spelled both as Millville or Milleville on LIRR timetables.It was renamed Yaphank a year later, and has kept that name ever since.The station also included a hotel until December 1873.