skip to Main Content

I have a centos machine running WordPress. For security reasons, the traffic goes through a third-party company so it can filter possible malicious access to the site (it works like a firewall between this machine and all the traffic to it). I needed to run a copy of the machine to test some stuff. I copied it and run it on a different IP address, but the machine still redirected to the original one. I removed certs and created new ones and changed all DNS name to the new IP in httpd.conf. But that didnt solve the problem. Any ideas what configurations/changes I am missing here?

2

Answers


  1. Did you replaced your old site url to new ip address url in your database?

    Login or Signup to reply.
  2. Here are few things you can start with:

    1. Update the A record and CName record from your domain name provider.

    2. Check if there is any other virtual host/server block config for your site. Update them accordingly and don’t forget to restart your web server.

    3. Check on the database if any old url exists, if yes, replace with new.

    Hope that helps!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search