• I have a WordPress site I have inherited being a new sysadmin to my current department. I am in the middle of moving and rebuilding the file server that contains the backend of the wordpress site. The /var/www directory was symlinked to an NFS share to the old file server and I have pointed that directory to the new file server. Everything else, /var/lib/mysql, /etc/httpd, all appear to be local on the web server but when the old file server is disconnected, the WordPress site no longer loads. I have another website hosted on the same server that just holds a bunch of images that does load.

    It appears there is another directory that is still linked back to the old server but I am not able to find it. Are there any other directories other than www-root, and mysql that I am missing?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there!

    Looks like you have some serious Linux setup over there!

    Your WordPress is not loading, but what exactly is it doing when you try to access it? Does it throw any error message, or is a HTTP code returned at all? You may be able to find something useful in the error log from the web server.

    If the other site you have -which seems to be static- is working, maybe this has something to do with PHP configuration? I am aware that issues can arise if you are using the PHP-FPM, but I’m not sure about other methods. Please double check the PHP config for your site.

    I’m curious about your setup, what advantages did your department see when they configured it that way?

    Cheers.

    Thread Starter snerfer

    (@snerfer)

    Thanks for the response. I am guessing the reason behind the setup that was chosen was so that all the data was centralized on one server which was being completely backed up. Currently when I turn off the original location of the data (server1) and try to bring up the site, it times out. I haven’t seen any messages that indicate anything is happening. I know the database is located on my webserver and the www didrectory was ponted at server1 but now at the new server (server2).
    What I have decided to do is take a backup of the www directory and the database and try restoring it to a completely different location just to make sure the site comes up. If it does, I am just going to rebuild everything because of the mess of the previous admins.

    Thread Starter snerfer

    (@snerfer)

    I setup a virtual, installed LAMP, created the database and imported, copied the site content into /var/www/html/testsite then tried to bring up https://localhost/testsite and it redirected me back to the original site address and is still pointing to the old file server. Something is still referencing the old location and I haven’t see anything anywhere that explains what else needs to me modified other than the document root and the database.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Moving wordpress backend’ is closed to new replies.