Using custom Frontend api with Strapi Backend

Jesus christ. It was only a reroute that was set inside the hosting provider that set hostname/api to api.hostname. SOLVED!