Electric vehicle (EV) is the growing vehicular technology for sustainable development to reduce carbon emission and to save fossil fuel. The charging station (CS) is necessary at appropriate locations to facilitate the EV owners to charge their vehicle as well as to keep the distribution system parameters within permissible limits. Besides that, the selection of a charging station is also a significant task for the EV user to reduce battery energy wastage while reaching the EV charging station. This paper presents a realistic solution for the allocation of public fast-charging stations (PFCS) along with solar distributed generation (SDG). A 33 node radial distribution network is superimposed with the corresponding traffic network to allocate PFCSs and SDGs. Two interconnected stages of optimization are used in this work. The first part deals with the optimization of PFCS’s locations and SDG’s locations with sizes, to minimize the energy loss and to improve voltage profile using harris hawk optimization (HHO) and few other soft computing techniques. The second part handles the proper assignment of EVs to the PFCSs with less consumption of the EV’s energy considering the road distances with traffic congestion using linear programming (LP), where the shortest paths are decided by Dijkstra's algorithm. The 2m point estimation method (2m PEM) is employed to handle the uncertainties associated with EVs and SDGs. The robustness of solutions are tested using wilcoxon signed rank test and quade test.