Given ρ > 0, we study the elliptic problemwhere Ω ⊂ R N is a bounded domain and p > 1 is Sobolev-subcritical, searching for conditions (about ρ, N and p) for the existence of solutions. By the Gagliardo-Nirenberg inequality it follows that, when p is L 2 -subcritical, i.e. 1 < p ≤ 1 + 4/N , the problem admits solution for every ρ > 0. In the L 2 -critical and supercritical case, i.e. when 1 + 4/N ≤ p < 2 * − 1, we show that, for any k ∈ N, the problem admits solutions having Morse index bounded above by k only if ρ is sufficiently small. Next we provide existence results for certain ranges of ρ, which can be estimated in terms of the Dirichlet eigenvalues of −∆ in H 1 0 (Ω), extending to general domains and to changing sign solutions some results obtained in [21] for positive solutions in the ball.