From Rome
When you get to Naples, take the Circumvesuviana line which will bring you to the Sorrento station.
The Sita bus line leaves every 30 minutes from the Sorrento station and connects the Sorrento peninsula to Amalfi (tickets must be purchased at the station and validated on board).
Useful links:
www.marozzivt.it (BUS from Rome to Sorrento and amalfi coast)
www.trenitalia.com (Train)
www.sitasudtrasporti.it (Bus from Sorrento to Positano-Praiano-Amalfi and viceversa)
From Naples
Useful links:
www.curreriviaggi.it (BUS from Naples airport to Sorrento)
www.eavcampania.it (Metro from Naples train station to Sorrento)
www.sitasudtrasporti.it (Bus from Sorrento to Positano-Praiano-Amalfi and viceversa)
Other Alternatives
Obviously, you can reach the coast by boat from the dock in Naples, as well as opt for the alternative of using your own means of transportation.
Keep in mind that all the areas are located along highway 163, a narrow, winding path with sharp turns and one lane for each direction of traffic.
For this reason, our advice is to leave the driving in these parts to people with more experience, perhaps taking advantage of a taxi service that guarantees to get you to the hotel in complete relaxation, or by using public transportation if you are on a tighter budget.