Answer
The domain is all real numbers except $-3$ and $1$.
Work Step by Step
We will factor the denominator to obtain:
$f(x)=\dfrac{x}{x^2+2x-3} =\dfrac{x}{(x-1)(x+3)} $
The function is undefined when the denominator becomes $0$.
This means that the value of $x$ can be any real number except those values that will make the denominator equal to zero.
Thus, $x+3\ne 0 \implies x \neq -3$ and $x-1 \ne0 \implies x\ne1$.
So, the domain is all real numbers except $-3$ and $1$.