https://seatreservation.railway.gov.lk/mtktwebslr/
Here, you will make an online reservation only.
Physical ticket needs to be collected from mTicketing service enabled station. Here is a list of those stations: https://seatreservation.railway.gov.lk/mtktwebslr/ticketprintinglocations