SSL

I want to host multiple https websites on one server. is this even possible? As soon as i want to enable the second website over SSL and i try to access the second website it redirects to the first. Am i doing something wrong?