  We propose a new class of $U(1)_{\mu-\tau}$ gauged model that can explain
recent flavor anomalies such as muon $g-2$, $b\to s\mu^+ \mu^-$, as well as
include a scalar dark matter candidate while satisfying all the
phenomenological constraints. For this purpose, we add new vectorlike quarks
and leptons as well as two inert singlet scalars, one leptophilic and the other
leptophobic. In our model $b\to s\mu^+ \mu^-$ anomalies can be explained by
loop induced interactions among the SM and exotic quarks and $Z'$ gauge boson.
In our numerical analysis, we show allowed region of our model to be narrow,
and it would be tested soon, for example by searching for 4 muons and dimuon +
missing transverse momentum from $pp \to \mu^+ \mu^- Z'$ and $pp \to
\nu_{\mu,\tau} \bar \nu_{\mu,\tau} Z'$ followed by $Z' \to \mu^+ \mu^- ,
\nu_{\mu,\tau} \bar \nu_{\mu,\tau} $ at the LHC.
