I used Certbot to create certification. Great tool.
It asked me if i want to leave HTTP/HTTPS open or only HTTPS, i choose to leave both open (aka port 80, 443).
Now i want to disable port 80 for and leave only port 443 open…
Do i need to configure something with Certbot?
I tried to remove from my site .conf file with the port 80 virtualhost configuration, but still site is accessed with port 80.
The “only HTTPS” option in certbot just puts a redirect in place. You’ll probably want to have port 80 open for people who enter your domain name manually. (Most people don’t put https:// in front of every host in their address bar ;))
Hi,
I added the “HTTPS” only to a specific sub domain, site it self is only port 80.
Used the command: certbot --apache -d sub.domain.com
I need the subdomain to be only HTTPS and not Both.