Question

make site https enabled with new ssl certificates

  • Posted on November 23, 2014
  • pdp2907Asked by pdp2907

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


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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 ?