404 error on new install CWP

Started by klaud, December 17, 2019, 04:38:45 AM

Previous topic - Next topic

klaud

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?

Igor S.

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

asenges400

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?

studio4host

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.

asenges400

#4
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

Igor S.

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