How would I sync projectile movement to server-sided raycasts?

I’m attempting to create a projectile system that does hit detection on the server and renders the projectile to the client. It currently uses raycasts that step in increments before hitting the final destination, and the projectile visuals are handled on the client. My question is how would I move the projectile (seen by the client) itself so it is in line with the raycasts (handled on the server) so that they reach the final destination at the same time? What method do I use to move the projectile?

you should probably raycast on the client.