all I did was pull the "if domain:" statement out, and raise 404 if the domain doesn't exist