If you know about NGINX and servers, Webinoly is for you!
0 votes
by Rookie
edited by


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


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? 


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.


Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.


Webinoly Support Paypal Donations Webinoly Support Bitcoin Donations GitHub Sponsors

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.