You are here
Generating site URLs with IP address instead of domain name
XML Sitemap is indeed working, but it is generating the URLs in the sitemap using my site's IP address rather than the domain name.
http://www.capa.org/sitemap.xml should make it clear what I mean.
I'm sure its vhost related. Any thoughts?