api becomes www