By joshAngler
Hi I set up a wordpress site on a digital ocean one click install setup our website then changed the domain name over and when I installed certbot I incorrectly selected “don’t redirect all http traffic to https” thinking it would cause admin issues later, turns out the reverse is now I can’t invert it and can’t get certbot to add the redirect, I get this error when I try:
“Failed redirect for domainname.com Enhancement redirect failed for domainname.com Unable to find corresponding HTTP vhost; Unable to create one as intended addresses conflict; Current configuration does not support automated redirection”
Does anyone know how I could possibly remove the right files so I can run the certbot program to do it automatically, or possibly add the redirect in manually.
Been searching Google for hours and reading stack overflow and all the posts on here to narrow it down.
Thanks so much in advance, any help is much appreciated
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.