im running a virtual host setup on multiple websites in my webserver.
site.com = /var/www/site1
site2.com = /var/www/site2
it works fine. but whenever i get to click something on any of the page (e.g about.html), it changes back to the IP, so it shows http://192.168.1.20/site1/about.html
instead of http://site.com/about.html
its not consistently using the domain.