Report this

What is the reason for this report?

make site https enabled with new ssl certificates

Posted on November 23, 2014

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



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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 ?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.