You can put this solution on YOUR website! Why do you want to exclude values from the domain? The domain is the set of input values or acceptable values for the independent variable, x.
The denominator is , and because this is the denominator, you must not allow it to be zero. This effectively means and .