moving websites to VPS (CentOS)
-
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.
- The topic ‘moving websites to VPS (CentOS)’ is closed to new replies.