New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

CWPpro version: 0.9.8.742 vhost templates

Started by monkeyking, December 02, 2018, 06:45:06 PM

Previous topic - Next topic

monkeyking

I updated to CWPpro version: 0.9.8.742. I don't seem to see the vhost templates. Can someone please point to me to it?

studio4host

centos 741+
/usr/local/cwpsrv/htdocs/resources/conf/web_servers/

* don't edit existing, you should add new as existing will be overwritten on update.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

pixelpadre

Templates need a https redirect.  Current conf file will not redirect http to https.  Why hasnt anyone else complained about this?  I have to use htaccess to accomplish redirect.

ginevra

UP! It's very important have redirect from panel from http and https and no www to www.

jeffshead

Quote from: monkeyking on December 02, 2018, 06:45:06 PM
I updated to CWPpro version: 0.9.8.742. I don't seem to see the vhost templates. Can someone please point to me to it?
I posted about this earlier. This was a major change (I believe for the worse).

Now you have to edit each domain's vhost, manually.

studio4host

this can't be any easier and simpler, there are also several instructions on the forum and wiki
http://wiki.centos-webpanel.com/webservers-vhost-templates
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

jeffshead

#6
Quote from: studio4host on March 04, 2019, 02:27:10 PM
this can't be any easier and simpler, there are also several instructions on the forum and wiki
http://wiki.centos-webpanel.com/webservers-vhost-templates
Thanks for the link :D When I first updated to v0.9.8.742, all I realized was that the template editing functionality was removed from the admin. That's when I started editing each individual vhost. Back then (http://forum.centos-webpanel.com/updates/every-menu-item-showing-high-performace-webservers-configuration/msg20157/#msg20157), I did not find any info on the new way of doing templates.

So it is normal behavior to manually assign a particular IP to an account but CWP does not automatically update the vhost files for the domains under that account?

studio4host

depends on how/where you manually change that ip address for the user, latest version if you use edit account from cwp will modify dns and webservers
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

jeffshead

#8
Quote from: studio4host on March 05, 2019, 06:33:14 AM
depends on how/where you manually change that ip address for the user, latest version if you use edit account from cwp will modify dns and webservers
Not working for me.

I have tried that and I do make sure that the 'Update WebServers' checkbox is ticked before I save the account settings but the IP listed in all of the vhost files does NOT change even though the correct, alternate IP is listed in that account's settings.

I have to go back and manually edit the Apache, NGINX and Varnish vhost files for that account every time I rebuild the servers because the CWP 'Edit Account Settings' does NOT update them .

It's either a bug or something is keeping CWP from updating the vhost files. What should I check?

studio4host

I would suggest reporting that to cwp to check the exact issue so development can do detailed testing.
http://centos-webpanel.com/contact
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.