Does a photon in vacuum have a rest frame?

Short answer: no.

Explanation:

Many introductory text books talk about "rest mass" and "relativistic mass" and say that the "rest mass" is the mass measured in the particles rest frame.

That's not wrong, you can do physics in that point of view, but that is not how people talk about and define mass anymore.

In the modern view each particle has one and only one mass defined by the square of it's energy--momentum four vector (which being a Lorentz invariant you can calculate in any inertial frame): $$ m^2 \equiv p^2 = (E, \vec{p})^2 = E^2 - \vec{p}^2 $$

For a photon this value is zero. In any frame, and that allows people to reasonably say that the photon has zero mass without needing to define a rest frame for it.


Your answers are right,a solitary photon has no rest frame, nonetheless I find quite interesting to note that a system of massless particles(such as photons) can have a nonzero mass provided that all the momenta are not oriented in the same axis and that for such systems zero momentum frames CAN actually be defined.