changed site from ip to domain name and now getting redirect loop

Like the subject says.
I logged into php myadmin, changed the settings in wpoptions table in siteurl and home to the proper url (no trailing slash). I thought that would do it but it still has redirect loop error.
Any help is appreciated.