How to deploy aws lambda functions different stages but same api gateway

Hello, I’m new comer to Serverless framework.

I’ve tried to deploy my graphql functions to aws lambda by Serverless frameworks. But instead getting two api same base path:
__https://xxxx.com/prod
__https://xxxx.com/dev

Now I’ve got 2 separated, different api:
___https://yyy.com/prod
___https://zzz.com/prod

In my mind, I knew that’s deployment with multiple stages but same api could be done, but don’t know how yet.

I hope some one could help, thank you.