During disasters, swiftly and efficiently evacuating populations in hazardous situations is crucial to minimize losses. This study proposes a novel framework to address dynamic population evacuation (DPE) problems, which includes planning and online evacuation management phases facilitated by vehicular communication. In the planning phase, a shelter allocation problem (SAP) is solved dynamically for destination choice and a dynamic traffic assignment (DTA) for path choice toward the chosen destinations to obtain an initial evacuation plan. The initial plan is then enhanced by employing a vehicular ad hoc network (VANET) within the vehicular edge computing (VEC) architecture. This enhancement enables communication among evacuees, allowing them to revise their vehicle's route choice and planned destination. These revisions take into account the changing risk and traffic conditions. The proposed online DPE framework is applied to the real evacuation scenario of Mill Valley City, CA. The proposed model is evaluated with different VANET architectures, including vehicular cloud computing (VCC) and VEC. The results show that the VEC framework outperforms other configurations and improves the evacuation process compared to the scenario with an initial plan by more than 30% in network clearance time. Additionally, a performance analysis is carried out for evacuation scenarios with different penetration rates of connected vehicles in VANET.