• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Everything is 404

CrispinP

New Pleskian
Hi folks,

I'm migrating hosts and having some issues setting up the new server and getting Plesk vhosts to work.

I have:
  • IP address: 138.201.120.21
  • OS: ‪CentOS Linux 7.2.1511 (Core)‬
  • Plesk version: 12.5.30 Update #37 , last updated at June 16, 2016 12:51 AM
  • Plesk Web Admin Edition

I have, for now, a shell of a domain setup - www.manhq.org I see the Plesk default page.
I put a file into Plesk Home / httpdocs/ called hello.html (full path is /var/www/vhosts/manhq.org/httpdocs/)
I can see the file from all angles - ssh, Plesk File explorer, ftp etc. Contents of the file is simply Hellow World

upload_2016-6-16_21-38-12.png

Here's my problem: I cannot see www.manhq.org/hello.html
I get 404 for any file I put in there.

I get:
Not Found
The requested URL /hello.html was not found on this server.

If I go to www.manhq.org/img/blog.png I can see it but when I copy blog.png into the root I cannot.

I am not convinced apache is looking in the correct path for my files.

I'm lost - where else can I check? Everything in Plesk looks ok to me.


thanks for any help

Crispin
 
So I've worked out that all domains are pointing to /default and not to the domain folder itself.
Any domain I have shows in Plesk with the expected path but apache is only looking at /var/www/vhosts/default/htdocs/

Why would that be and how can I fix that?


Thanks
Crispin
 
Try to fix it with

# plesk repair web
# plesk repair fs
 
It appears I screwed nginx and apache up. I've not slowly walked backupwards and undid everything I did.

I also removed ngixn from the system as I feel it adds complexity which does not benefit me.


Thanks for the help though!


C
 
Back
Top