The South Carolina Department of Public Health has confirmed two cases of West Nile virus in Myrtle Beach, prompting the city to ask the community to take precautions.