Answer
No.
Work Step by Step
Take as an example, the function $f(x)=\displaystyle \frac{1}{x}$.
Its domain is the set of nonzero real numbers, and on that domain,
the function is continuous.
We see that $f$, however, is not continuous on all real numbers. At $x=0$ there is a discontinuity (vertical asymptote).