Nonexistence of solutions for elliptic equations with supercritical nonlinearity in nearly nontrivial domains