0 votes
68 views
by Rookie
edited by

Hello,

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 3
sudo site www.example.com -wp=default -cache=on
sudo site www.example.com -ssl=on


Result

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? 

Thanks

1 Answer

0 votes
by Expert

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.

Regards.

Welcome to the Community site for Webinoly.

If you have a question about Webinoly, please ask in English or Spanish.

To report a bug, please ask a question here with the bug tag.

News: Now you can use any external SMTP service in your server. All the server outgoing emails from any of your websites will be sent through this service.

Donations

Webinoly Support Paypal Donations Webinoly Support Bitcoin Donations

Your regular donations is what keep this project moving forward. If you like Webinoly, buy me a coffee or a beer to show support.

Affiliate Links

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...