New in CWP Edge / LTSFree 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. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

Webpage not correct

Started by Bosman, March 22, 2015, 09:29:42 PM

Previous topic - Next topic

Bosman

Hello guys!

I have a problem and I need your help.

My problem is that I got the default page on all my sites.
Probally you are going to say this is a repost but I really cant fix it, I got this problem for a few days now.


I did the steps in the tutorials;
http://forum.centos-webpanel.com/apache/default-page-displayed-for-all-domains/
&&
http://wiki.centos-webpanel.com/default-page-displayed-for-all-domains

Still getting the default page for all the sites.

My internal IP is 192.168.178.34 for the server and external is 94.213.xxx.xx;

This is my vhost of one of the sites
-----------------
# vhost_start cirosilmedia.com
<VirtualHost 94.213.xxx.xx:80>
ServerName cirosilmedia.com
ServerAlias cirosilmedia.com
ServerAdmin ADMIN@ADMINEMAIL.com
DocumentRoot "/home/cirosil/public_html"
ScriptAlias /cgi-bin/ "/home/cirosil/public_html/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/cirosil/cirosilmedia.com/*.conf

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

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

<Directory "/">
        AllowOverride All
</Directory>

</VirtualHost>
# vhost_end cirosilmedia.com



I also tried it with:

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


Thanks in advance!

Regards,

Bosman

brijendrasial

Do you have Vhost entries for all your websites?

Bosman

I got this for every site I got in cwp, 3 in total;


-----
# vhost_start ihazop.nl
<VirtualHost 94.213.xxx.xx:80>
ServerName ihazop.nl
ServerAlias ihazop.nl
ServerAdmin admin[AT]admin.com
DocumentRoot "/home/ihazop/public_html"
ScriptAlias /cgi-bin/ "/home/ihazop/public_html/cgi-bin/"
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/ihazop/ihazop.nl/*.conf

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

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

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

</VirtualHost>
# vhost_end ihazop.nl

# vhost_start point-zero.biz
<VirtualHost 94.213.xxx.xx:80>
ServerName point-zero.biz
ServerAlias point-zero.biz
ServerAdmin admin[AT]admin.com
DocumentRoot "/home/pointzer/public_html"
ScriptAlias /cgi-bin/ "/home/pointzer/public_html/cgi-bin/"
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/pointzer/point-zero.biz/*.conf

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

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

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

</VirtualHost>
# vhost_end point-zero.biz

# vhost_start cirosilmedia.com
<VirtualHost 94.213.xxx.xx:80>
ServerName cirosilmedia.com
ServerAlias cirosilmedia.com
ServerAdmin admin[AT]admin.com
DocumentRoot "/home/cirosil/public_html"
ScriptAlias /cgi-bin/ "/home/cirosil/public_html/cgi-bin/"
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/cirosil/cirosilmedia.com/*.conf

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

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

<Directory "/home/cirosil/public_html">
        AllowOverride All
</Directory>
</VirtualHost>

# vhost_end cirosilmedia.com

brijendrasial

did u try restarting apache?

service httpd restart

Bosman

Yesh, I did restart it multiple times and rebooted the server also.

brijendrasial

Without looking inside it will be hard to help. I think just by paying 5$ to the centos web panel team they can help to get this issue resolved.

Administrator

you will need to check on your shared ip address and check if you have varnish enabled.
Also rebuild apache vHosts could help

Bosman

Okay I found fixed it myself!

I changed in the vhosts;
<VirtualHost SERVER_IP:80> to <VirtualHost *:80>

I changed in sharedip.conf
NameVirtualHost SERVER_IP:80 to *:80;

Then restart httpd/apache and I got it working.

Regards,

Bosman.