Graphql in subdomain

i’m trying to connect to a graphql using apollo (usinge react)
i have my graphql on https://cloud.mysite.com/graphql
and if i open it with a browser, or with curl i got a correct graphql response
but everytime i try connect using Apollo from inside my app, it looks like somewhere it changes cloud to www (i double checked all allong my project but nowhere www is indicated!)
both www and cloud are on the same server, but it looks everything is configured correctly, and i cant really understand what’s wrong, this is not my first project with 2 subdomains, but its my first time where the graphql is not on www

any clue?

When you say Apollo, I’m assuming in this case you’re referring to Apollo Client? If so can you share how you’ve configured your ApolloClient instance (along with all of the config params you’re passing into the constructor)?