Vaccination requirements split into two very different categories, and conflating them causes confusion. Mandatory vaccines are entry requirements enforced at the border: the classic example is yellow fever proof, demanded by many countries if you arrive from or transited through a yellow fever risk region, and recorded on the yellow international certificate issued when you are vaccinated. A few destinations add requirements like meningitis vaccination for specific pilgrimages.
Recommended vaccines are about protecting you, not passing immigration, and typically include hepatitis A and B, typhoid, tetanus boosters, and depending on region and trip style, rabies, Japanese encephalitis or others, plus malaria prophylaxis where relevant, which is medication rather than a vaccine.
The right move is a travel health clinic or your doctor six to eight weeks before departure, because some courses need multiple doses spaced out. Bring your itinerary; recommendations are region and activity specific. Keep the official vaccination certificate with your passport, and photograph it for backup. Requirements do change, so verify close to travel on official sources.