This may sound stupid, but I never cooked a whole chicken before last month.
Here's all I did:
Take any packaging from inside the chicken. Rinse inside of chicken.
Cook chicken in a pan covered with foil at 375 deg. for 1 1/2 hours to 2 hours.
Temperature should reach 180 deg. in thickest part of meat.