I cannot access my WordPress through HTTP, only works through HTTPS. I need to update the certification but certibot certifies through HTTP. The site is accessible through HTTPS, but screams “Danger, expired certificate.”
What can I try?
What I have tried.
I did not change anything in MySQL, I am not familiar with SQL commands.
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!
Hi @ALbundee,
It’s a possibility for the redirection to be made inside your virtual configuration file. If you are using an .htaccess file then it means you are using Apache. Find the Apache folder it’s usually:
for Ubuntu
/etc/apache2
for CentOS
/etc/httpd
Inside this folder, you should see another folder - sites-enabled. Find the Configuration file of your website there and please post it here. It’s possible the redirection is there and we might be able to spot it inside it.
Hi @ALbundee,
I see something interesting.
In your <VirtualHost *:80>, I can see
ServerName www.example.co.za
Please make sure you update it with your domain as I can see you haven’t editted out the domain anywhere else.
Additionally, I’ll recommend adding the main domain name as well steedfit.co.za and not only the www version otherwise people that are trying to reach it on - steedfit.co.za will not be able to. You can add steedfit.co.za to your ServerAlias section.
Regards, KFSys
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.