Question

Setting up SSL for Apache and PHPMyAdmin, according to the tutorial

I am following the tutorial at https://www.digitalocean.com/community/articles/how-to-set-up-ssl-certificates-with-phpmyadmin-on-an-ubuntu-12-04-vps

Will changing the “<VirtualHost *:80>” declaration to “<VirtualHost *:443>”, which is the default SSL port, affect all my other domains? I hesitate to finish the tutorial because it isn’t clear to me what actually happens.


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.

Will changing the “” declaration to “”, <br> <br>It was apparently stripped out. Can you please post that on pastebin site such as pastie.org?

Yes, if all your other domains are on the same Apache2 virtual host. To avoid having phpMyAdmin affect your other domains, simply create a separate virtual host for it. <i>See</i> <a href=“https://www.digitalocean.com/community/articles/how-to-set-up-apache-virtual-hosts-on-ubuntu-12-04-lts” target=“_blank”>How to Set Up Apache Virtual Hosts on Ubuntu 12.04 LTS</a>.