Set absolute URL to retrieve posts through ajax. If no virtual host has been created it cannot load the total baseURL by default.