On August 3 , Hurricane Alex came within 10 miles of North Carolina . On August 3 , Alex passed within 10 mi ( 16 km ) of Cape Hatteras , North Carolina , and the western portion of its eyewall moved over land .