Installing Discourse as a subdomains

Just follow the install instructions.they assume that discourse will be on a sub domain.