Hello,
I had the unfortunate idea of starting a new site on a cheap VPS server. The site turned out to be quite popular and now I’m faced with the great pleasure of having to move it (it’s become too slow).
I have already created a new EE site on the new server, even specifying the database username and password so I don’t have to change too much.
I have also copied all the contents of htdocs.
Now, I’m trying to test if the new server is properly configured, and I can’t seem to get anywhere: if I modify /etc/hosts I still get the “Welcome to Nginx” message.
If I change the nginx conf, it generates a redirect to the current .com site (on the old server).
I’m going nuts as I can’t figure out what I’m doing wrong for the life of me.
Is there any way I can at least check that the database is all set up correctly? I can’t access the site on the new server with the ip address, no matter what I do.
I am using LetsEncrypt on the old server, could this be the issue? I figured I’d try to get the site working on the new server and then do the letsencrypt installation there after the DNS were already pointed to the new server.
Help!
Thanks in advance