I have a website that is controlled by speech-recognition software. The user does not control the website. This website needs to be HTTPS only! I followed this document to set up the HTTPS: How To Set Up Apache with a Free Signed SSL Certificate on a VPS.
I got it to work but now I want to remove HTTP.
I assume I have to do the following:
nano /etc/apache2/sites-enabled/000-default and remove <VirtualHost *:80>
sudo ufw deny http
I want to be able to use “www.mydomainname.com” or “mydomainname.com” and have it resolve to “https://…”
Is there anything else I need to do to make this happen? Thanks
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!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.