Question

make site https enabled with new ssl certificates

Posted November 23, 2014 1.9k views

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

the droplet enabled. ubuntu 14.04 lts.

i have the domain.( naturalgassupplydata.com) pointed to the droplet.

apache is default configuration.

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

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 naturalgassupplydata.com

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

regards

Parag

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.

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 ?

Submit an Answer