Author Topic: File Downloads Instead Of Loading Websites  (Read 11971 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
File Downloads Instead Of Loading Websites
« on: August 08, 2015, 02:55:40 AM »
I installed our webpanel in my unmanaged vps a month ago. Until now, all things worked fine. I have 2 user accounts and more than 10 websites in these accounts. Yesterday I added a domain and I got 'HTTP Test Page'. To resolve this, I tried rebuilding virtual hosts and apache config. But after that when I try to visit any domain in my primary account it downloads a file automatically instead of loading webpage in browser. The secondary account just works fine. Now all my websites in primary account are offline.

Domains:

1. whatsappvideos.ga
2. funnynewvideos.ga
3. youwemedia.ga

and few more. Kindly help me as soon as possible. Her's the example of auto download file. I think it is insex.php

Quote
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */

/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );

Re: File Downloads Instead Of Loading Websites
« Reply #1 on: August 08, 2015, 09:30:31 AM »
Try to recompile php also.

Offline
*
Re: File Downloads Instead Of Loading Websites
« Reply #2 on: August 08, 2015, 01:36:04 PM »
Try to recompile php also.
recompiled php, but still facing the same error. Is there is anyway to change user account of the websites? Secondary user websites just working fine.

Offline
**
Re: File Downloads Instead Of Loading Websites
« Reply #3 on: October 09, 2015, 06:35:28 AM »
did you restart Apache after php re compile
service httpd restart

Offline
*
Re: File Downloads Instead Of Loading Websites
« Reply #4 on: October 12, 2015, 05:51:07 PM »
have you installed any packages manually ?

You should also check this tutorial, and your htaccess, php.ini file
http://wiki.centos-webpanel.com/default-page-displayed-for-all-domains
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services