Author Topic: 404 error on new install CWP  (Read 10193 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
404 error on new install CWP
« on: December 17, 2019, 04:38:45 AM »
i just successfully install CWP on aliyun

now i try to use duplicator to migrate my wp sites to CWP

i select nginx only

after i upload archive and installer.php sites

i cant seems to access to my domain http://domain.com/installer.php got 404 error, i try domain.com/test.html/.txt/.php all got 404 error

whats wrong? could somebody help me?

Offline
*****
Re: 404 error on new install CWP
« Reply #1 on: December 17, 2019, 11:13:33 AM »
nginx does not understand .htaccess. Use Apache+nginx or Apache.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
404 error
« Reply #2 on: October 06, 2020, 03:44:04 PM »
I am having this problem after moving files to remote host. I replaced public_html with a symlink to my new folder and gove 775 permission and changed the group to nobody nginx user and set symlink to off in my nginx.conf and vhost conf. But I am still getting the 404 error. What's missing?

Offline
*
Re: 404 error on new install CWP
« Reply #3 on: October 06, 2020, 05:02:26 PM »
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.

Offline
*
Re: 404 error on new install CWP
« Reply #4 on: October 06, 2020, 06:26:22 PM »
Thanks for your reply but what am I looking for specifically. I already checked the logs but there are many entries and many files in both

/usr/local/apache/logs (main logs)
/usr/local/apache/domlogs (per domain logs are in the same file for apache&nginx)

But I could not realized what the problem is. I thought it was something about file permission or ownership but I already attended this so I suppose it is something about any rule on nginx server I am not aware of.

I am using both Apache and Nginx as a Reverse Proxy and Nginx is not following the Symlink properly.

HTTP: Nginx (80) --> Apache (8181)
HTTPS: Nginx (443) --> Apache (8181)

404 Not Found
nginx/1.18.0
« Last Edit: October 06, 2020, 07:05:26 PM by asenges400 »

Offline
*****
Re: 404 error on new install CWP
« Reply #5 on: October 18, 2020, 06:42:24 AM »
FollowSymLinks construction disabled by default for security reasons.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services