certbot causing issues, redirecting domain to another one. non-www redirection stopped as well

This has been a previous problem. When I installed WordPress using an image from the available options.
The certbot certificate was working perfectly fine until now. then recently www to non-www stop working.

I checked the configuration and things were intact. however, I couldn't fix it.
I tried htaccess redirection and through .conf file as well.
but no luck

then I reinstalled the certbot certificate on the primary domain again

few minutes it worked, and now its redirecting me to the other domain hosted on the server. I don't want this to happen.

Pls help.

1 Reply

Pardon me for maybe re-stating the obvious but did you restart your webserver in all this?

In my limited knowledge of certbot, it can't do something like this, IMHO. If anyone else has contradictory knowledge, please share it. I'd certainly like to know…

-- sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct