If I solve the Equation $x^x = 0$, then I get $x^x=0$:
x ln(x)= -∞ or lnx $e^{\ln(x)}$ =-∞
and if we take the Lambert W function on both sides we get
ln(x)=∞,
And I put it on Wolfram Alpha then it shows undefined? Is $x^x$ never equal to zero,or is it in a complex domain?.
Whenever you ask: "What are the solutions to this equation?" one crucial component is to specify over what admissible solution space you are looking for solutions. This is because equations can have a wastely different number of solutions depending on what kind o "x" we allow.
Take $x(x^2+1)(x^2-2)e^{x} = 0$ for instance. Over the integers, this has a single solution: $x=0$. If we allow real numbers, then also $\pm \sqrt{2}$ are solutions. If we allow complex numbers, then $x=\pm i$ are solutions as well. If we allow the extended real number line, $x=-\infty$ is a solution. If we allow Quaternions, then there are infinitely many solutions. If you allow $x$ to be an element of some matrix space, you can get all sorts of solution sets.
And if you are unsure of what the solution space should/could be, then it is also important to mention that, since quite often possible to extend the space somehow to get solutions.
Now, in the case at hand we have
$$0 \overset{!}{=} x^x \overset{\text{def}}{=} e^{x\log x} $$
Now over the reals, there is no solution. Over the extended reals, $e^x = 0$ is achieved for $x=-\infty$. However $x\log x=-\infty$ has so solution over the extended reals. If we allow ourselves to extend further into the complex domain, we have $\log(z) = \log(re^{i\phi}) = \log r + i\phi$ for any complex number $z$.
Taking $z=-r = re^{i\pi}$ we have $z\log z = -r(\log r + i\pi) \to -\infty$ as $r\to\infty$, so one could say that $x=-\infty +0i = \infty \hat z$, where $\hat z=e^{i\pi}\in S^1$ is a solution in a sort of "extended complex plane".
Note that this is a different kind of extended complex plane than the Riemann Sphere, which you'll find if you google for this term. The Riemann sphere is obtained by gluing all points at infinity together into a single point, whereas here, we attach a circle of so-called directed infinities $\{\infty\cdot \hat e_z \mid |\hat e_z|=1 \} = \infty \cdot S^1$ to the complex plane.
We can verify numerically that $x=-\infty$ this is a solution in python:
Converges against $0$ very quickly. Note that we have to add the $0j$ to make sure python treats it as a complex number, otherwise you will get errors!