Error. Ubuntu14.04 Apache2 - ‘a2ensite Site ~~~ does not exists!’
On Ubunbu14.04 configuration file extension is changed from Ub12.
Ubuntu 12.04
# Include generic snippets of statements Include conf.d/
Include the virtual host configurations:
Include sites-enabled/
Ubuntu 14.04
# Include generic snippets of statements IncludeOptional conf-enabled/*.conf
Include the virtual host configurations:
IncludeOptional sites-enabled/*.conf
so, you just add ‘.conf’ extension on your virtualhost configuration file.
then problem solved.