Many new riders have this issue when they are just starting to build miles. It is very common. Your bike fit and position are probably fine. The neck pain almost always goes away just from riding. If you are getting neck pain after only an hour, I'd say take 3 days off the bike and try it again. Try taking ibuprofen during this rest period, but not while riding. Do you have a light helmet?