English Grammar question: is it a University, or an University.?

So one uses 'an' instead of 'a' when the article proceeds a noun that starts with a vowel. But when I say "I am an university student.", 'an' just doesn't sound right to me. Is this some sort of exception where one shouldn't use 'an'?
3 answers 3