Since, I wanted to install WordPress on the www version. I had entered site name with www. wget -qO weby qrok.es/wy && sudo bash weby 3sudo site www.example.com -wp=default -cache=onsudo site www.example.com -ssl=onResult
HTTPS is working fine for www version, but not for non-www.
* Should I re-installing using command? sudo site example.com -wp=default -cache=on
But I have doubt, will it force non-www?
* Or, is there any tweak which can fix by installing SSL on non-www version?
That's exactly how it's supposed to work.
Please, read the documentation!
Sites created with root domains example.com will respond to both www subdomain and non-www requests. Subdomain sites will only respond to the indicated subdomain sub.example.com.
If you want to force the www, you can use the -force-redirect command.
PayPal · GitHub Sponsors · Bitcoin