Server Error after changing public ip

I recently changed the public ip pointing to my webserver. Since the change, I cannot connect to my remote MySQL database. The new ip is whitelisted on the host provider's server where the database resides. DNS resolves properly. The error I get is (500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.)

I can ping the database server. Both my host provider and my firewall management says neither of them believe the problem is on their end. Pages not requiring a database connection work fine. Do I have to make changes in IIS? Any help would be appreciated. The web address is
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
where is the mysql database server located? using the mysql manager can you access the mysql database?
waynerayAuthor Commented:
The website is on my school network. The database is located at my account My host provider ( allows remote connections. I have to whitelist my school domain to make the connection. The connection worked fine until today. I did whitelist the new public ip. I can also ping the mysql host from the web server. Can I use the mysql manager on a remote database?

I had the same problem and I know the cause: the initialization of database connection and or the initialization of the paths of webpages. Check there in the configuration files of the website and search  for the old IP address.

I am guessing that the developer did not use the name of the server, but the IP.

Also, check in IIS if the site is not configured to listen on the old IP address

Best regards!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
waynerayAuthor Commented:
The problem was I had to whitelist my network ip and website ip  in order to make the connection.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.