Just upgrading my site to ssl and now I get a www. error ?

if in the url I have > mysite.com its ok but if I have www.mysite.com I get a page error this website does not exist ? how does one fix this ? it was fine before the ssl and sure we do not have to do anything now ?