make site https enabled with new ssl certificates

Posted November 23, 2014 2.1k views

ok, please bear with me . question can be stupid.

the droplet enabled. ubuntu 14.04 lts.

i have the domain.( pointed to the droplet.

apache is default configuration.

i nano'ed /etc/host file and the setup is default. only local host. (

i checked sites-enabled , only 000-enabled.conf, local host port 443

I went through the SSL process and bought a certificate from godaddy. i have the certificates and will place them at the location /etc/apache2/ssl

now the main question ;

do i need to setup a name based virtual host for

or will the default configuration do /var/www/html



These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

That depends on where the default-ssl config points.

You need to enable the default-ssl virtualhost and make sure it has the ServerName set correctly and is pointing to the correct document root.

What are the contents of /etc/apache2/sites-available/default-ssl ?