Change URL throughout WP multi-site

I built a WordPress multi-site and recently switched the DNS. I need to change the URL from the IP address to the correct domain name. I tried to do it myself, but there are so many sub-directories and sub-sites, that I got 500 Internal Server errors all over the place. Looking for help or a pro to fix the issue. http://www.phillygofresh.com

Thanks!