You should apply for ILR online and you should ensure that the correct application form is chosen, depending on the immigration category you are applying from. Find out what category you should apply from here.