Properly handle the baseurl when serving site