This ocean liner is heading for the port of Shanghai.
Tips
usage
驶往 specifically refers to vehicles, boats, or aircraft moving toward a destination. It is not used for people walking. Compare 前往 which applies more broadly and is also used for people.