Control Web Panel

WebPanel => Apache => LiteSpeed => Topic started by: blackstar on May 25, 2017, 10:24:17 PM

Title: My sites are not open
Post by: blackstar on May 25, 2017, 10:24:17 PM
I want to try Litespeed, if the load is good, I will continue. But my sites are not open. What kind of settings do I need to adjust?

http://prntscr.com/fc53ax

There is php 7.1.5 on the server ..
thanks.
Title: Re: My sites are not open
Post by: Administrator on May 28, 2017, 07:12:50 AM
check this
http://wiki.centos-webpanel.com/default-page-displayed-for-all-domains
Title: Re: My sites are not open
Post by: blackstar on May 15, 2018, 08:45:15 PM
Hi, I met this problem again.

http://wiki.centos-webpanel.com/default-page-displayed-for-all-domains
and
http://wiki.centos-webpanel.com/litespeed-enterprise-webserver-for-cwp

I made the settings here. but my site is not open. what should I do ?
Title: Re: My sites are not open
Post by: blackstar on June 05, 2018, 08:12:43 AM
Can someone explain the use of LiteSpeed in detail? I want to use it but there is no detailed usage information.
Title: Re: My sites are not open
Post by: blackstar on September 06, 2018, 12:12:21 AM
I'm still dealing with this problem. Could someone please explain in detail?
thank you
Title: Re: My sites are not open
Post by: Sandeep on September 06, 2018, 02:51:01 PM
rebuild php from switcher with litespeed option ticked
Title: Re: My sites are not open
Post by: blackstar on September 06, 2018, 03:04:15 PM
rebuild php from switcher with litespeed option ticked
I made them. but it still does not work. there must be something else. Please give me a hand on this subject I want to use LiteSpeed.
Title: Re: My sites are not open
Post by: bullten on September 06, 2018, 05:08:35 PM
You need to check if you are using port 80 or 8181. Check your vhost file for that
Title: Re: My sites are not open
Post by: blackstar on September 06, 2018, 05:26:28 PM
You need to check if you are using port 80 or 8181. Check your vhost file for that

Thank you. I think this answer is enough for everybody. I go on with CyberPanel. I congratulate you.
Title: Re: My sites are not open
Post by: bullten on September 06, 2018, 05:37:34 PM
We use that too for wordpress site only. But many of the option to support apache rewrite is not supported in openlitespeed.

See comparison below

https://www.litespeedtech.com/products/litespeed-web-server/editions
Title: Re: My sites are not open
Post by: blackstar on September 07, 2018, 04:02:24 PM
We use that too for wordpress site only. But many of the option to support apache rewrite is not supported in openlitespeed.

See comparison below

https://www.litespeedtech.com/products/litespeed-web-server/editions

That's why I wanted to use LiteSpeed. but there is not enough information. Would you like to take 1 hour to explain how to setup?
If you do this in time, you will be very satisfied.
Title: Re: My sites are not open
Post by: bullten on September 07, 2018, 04:15:31 PM
What issue are you facing in its setup?
Title: Re: My sites are not open
Post by: blackstar on September 07, 2018, 04:24:31 PM
What issue are you facing in its setup?
I took vps from vultr for learning purposes. I can reinstall and send you server information. After I was stable I would like to take backup of my own server and install CentOS panel + LiteSpeed.
Can you help ?
Title: Re: My sites are not open
Post by: bullten on September 07, 2018, 04:34:49 PM
I dont need login. Did you install lightspeed on yourserver? If yes, then what is the issue?
Title: Re: My sites are not open
Post by: blackstar on September 07, 2018, 04:37:53 PM
I dont need login. Did you install lightspeed on yourserver? If yes, then what is the issue?
This is the test server. I turned on the site, I installed WordPress with ftp, but again CentOS main page looked.

I will rewrite the server. Let me know in half an hour. My ways with PM. is it OK?
Title: Re: My sites are not open
Post by: bullten on September 07, 2018, 04:44:08 PM
Do post here instead of PM.

Re setup server, install litespeed , create user account , install wordpress and paste here output of the commands below

Code: [Select]
cat /usr/local/apache/conf/sharedip.conf
Code: [Select]
cat /usr/local/apache/conf.d/vhosts.conf
Title: Re: My sites are not open
Post by: blackstar on September 07, 2018, 04:46:09 PM
Do post here instead of PM.

Re setup server, install litespeed , create user account , install wordpress and paste here output of the commands below

Code: [Select]
cat /usr/local/apache/conf/sharedip.conf
Code: [Select]
cat /usr/local/apache/conf.d/vhosts.conf
Okay thanks. Installation is about to end
Title: Re: My sites are not open
Post by: blackstar on September 07, 2018, 05:33:10 PM
Do post here instead of PM.

Re setup server, install litespeed , create user account , install wordpress and paste here output of the commands below

Code: [Select]
cat /usr/local/apache/conf/sharedip.conf
Code: [Select]
cat /usr/local/apache/conf.d/vhosts.conf

[root@server /]# cat /usr/local/apache/conf/sharedip.conf
<VirtualHost 80.240.20.xxx:80>
    ServerName 80.240.20.xxx
    DocumentRoot /usr/local/apache/htdocs
    ServerAdmin info@centos-webpanel.com
    <IfModule mod_suphp.c>
        suPHP_UserGroup nobody nobody
    </IfModule>
    <Proxy "*">
        <IfModule mod_security2.c>
            SecRuleEngine Off
        </IfModule>
    </Proxy>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^80.240.20.xxx$
    RewriteCond %{HTTP_HOST} ^webmail.
    RewriteRule ^/(.*) http://127.0.0.1:2095/$1 [P]
</VirtualHost>
<Directory "/">
        AllowOverride All
        Require all granted
</Directory>

AND

[root@server /]# cat /usr/local/apache/conf.d/vhosts.conf

# vhost_start mysite.com
<VirtualHost 80.240.20.xxx:8181>
        ServerName mysite.com
        ServerAlias www.mysite.com
        ServerAdmin webmaster@mysite.com
        DocumentRoot /home/mysite/public_html
        UseCanonicalName Off
        ScriptAlias /cgi-bin/ /home/mysite/public_html/cgi-bin/

        # Custom settings are loaded below this line (if any exist)
        # Include "/usr/local/apache/conf/userdata/mysite/mysite.com/*.conf"

        <IfModule mod_userdir.c>
                UserDir disabled
                UserDir enabled zortinge
        </IfModule>

        <IfModule mod_suexec.c>
                SuexecUserGroup zortinge zortinge
        </IfModule>

        <IfModule mod_suphp.c>
                suPHP_UserGroup zortinge zortinge
                suPHP_ConfigPath /home/zortinge
        </IfModule>

        <Directory "/home/mysite/public_html">
                AllowOverride All
        </Directory>

</VirtualHost>
# vhost_end mysite.com

================================

So what do I have to do now?
Title: Re: My sites are not open
Post by: bullten on September 07, 2018, 05:41:38 PM
goto https://yourserverip:2087/admin/index.php?module=settings

Under apache port. See if there is 8181. If yes then change it to 80 and click on save changes.

got https://yourserverip:2087/admin/index.php?module=vhost_rebuild

click Rebuild All Virtual Hosts

In ssh restart litespeed

service lshttpd restart

Now see if your site is working fine.
Title: Re: My sites are not open
Post by: blackstar on September 07, 2018, 05:54:16 PM
goto https://yourserverip:2087/admin/index.php?module=settings

Under apache port. See if there is 8181. If yes then change it to 80 and click on save changes.

got https://yourserverip:2087/admin/index.php?module=vhost_rebuild

click Rebuild All Virtual Hosts

In ssh restart litespeed

service lshttpd restart

Now see if your site is working fine.

Thanks WordPress turned on.
Do you have to do something on myip: 7080?
For example, if I need to edit php.ini, which section do I need to adjust?
Title: Re: My sites are not open
Post by: bullten on September 07, 2018, 05:59:23 PM
Its same as how previously you used to edit php.ini file.

using 7080 port you can manage litespeed. Navigate to each setting and play with it if you want to learn. :)

I think you are done with litespeed.

Title: Re: My sites are not open
Post by: blackstar on September 07, 2018, 06:37:19 PM
Its same as how previously you used to edit php.ini file.

using 7080 port you can manage litespeed. Navigate to each setting and play with it if you want to learn. :)

I think you are done with litespeed.
Thank you so much..

Cyberpanel myip:7080 >>> http://prntscr.com/krtq7l

But litespeed : http://prntscr.com/krtqvw
This is empty. Do not I have to do Cache settings from here?
Title: Re: My sites are not open
Post by: bullten on September 07, 2018, 06:44:22 PM
litespeed automatically counts vhost created for Apache. Goto https://yourserverip:7080/service/serviceMgr.php . Scroll down and you will see your vhost files used by litespeed for CWP.

Title: Re: My sites are not open
Post by: blackstar on September 07, 2018, 06:52:03 PM
litespeed automatically counts vhost created for Apache. Goto https://yourserverip:7080/service/serviceMgr.php . Scroll down and you will see your vhost files used by litespeed for CWP.
I understand thank you
I get a new server. What do you recommend Centos 6 or CentOS 7?
Title: Re: My sites are not open
Post by: bullten on September 07, 2018, 07:01:59 PM
Obviously Centos 7

https://wiki.centos.org/About/Product
Title: Re: My sites are not open
Post by: blackstar on September 07, 2018, 07:03:54 PM
Obviously Centos 7

https://wiki.centos.org/About/Product

Okay, thank you again for helping me. Good evening.