Dual quaternions have wide applications in automatic differentiation, computer graphics, mechanics, and others. Due to its application in control theory, matrix equation AXB=C has been extensively studied. However, there is currently limited information on matrix equation AXB=C regarding the dual quaternion algebra. In this paper, we provide the necessary and sufficient conditions for the solvability of dual quaternion matrix equation AXB=C, and present the expression for the general solution when it is solvable. As an application, we derive the ϕ-Hermitian solutions for dual quaternion matrix equation AXAϕ=C, where the ϕ-Hermitian extends the concepts of Hermiticity and η-Hermiticity. Lastly, we present a numerical example to verify the main research results of this paper.