Error. Ubuntu14.04 Apache2 – ‘a2ensite Site ~~~ does not exists!’

On Ubunbu14.04 configuration file extension is changed from Ub12.

Ubuntu 12.04

Ubuntu 14.04

 

so, you just add ‘.conf’ extension on your virtualhost configuration file.

then problem solved.