• Hello,

    I transferred my 2 websites to a VPS and now they don’t work. Here is what I did.

    I installed nginx+php-fpm+mysql on CentOS 6 (they work)
    I installed phpmyadmin and in it created 2 databases. Then imported the backups in those databases and created appropriate users for those data bases. The user names and passwords match wp-config.php file.

    I used vhost script to setup websites like this:

    vhost-setup domain.com

    and created 2 folders for my websites.

    Then I transferred the website files in those folders and this is the path.

    /var/www/folder1/
    /var/www/folder2/

    Then i restarted nginx in my Putty https://prntscr.com/zrzu7

    Then in my dynadot account I created A record and placed VPS IP address in it so that domains point to that VPS.

    But when I open the domain names in browser sites are offline.

    Now I am confused and looking for an answer.

    Thanks.

Viewing 1 replies (of 1 total)
  • What do you mean by

    But when I open the domain names in browser sites are offline.

    Are you getting a WordPress error or are you getting a server response. If you are getting a server response and nothing about WordPress then I would google for a support forum that can help you figure out the what is wrong with your server. Then if you have issue’s with your WordPress installs from there, we can help.

Viewing 1 replies (of 1 total)
  • The topic ‘moving websites to VPS (CentOS)’ is closed to new replies.