American Moving to Dublin

I just got accepted to study in Dublin starting next fall. My question is, how far in advance should I be looking for housing? What are the best websites to look for apartments on? Are there any areas you would recommend or that I should avoid? I am a 27 year old woman.