Installing discourse on 'inmotion hosting'

It is not necessary to host both main and sub domain (Discourse) with same provider.