# Get same base url with for different stages

**URL:** https://forum.serverless.com/t/get-same-base-url-with-for-different-stages/8162
**Category:** Serverless Framework
**Created:** [May 3, 2019, 6:37pm UTC](https://forum.serverless.com/t/get-same-base-url-with-for-different-stages/8162 "2019-05-03T18:37:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hoop](https://avatars.discourse-cdn.com/v4/letter/h/ad7895/32.png) [@hoop](https://forum.serverless.com/u/hoop)
#### Post date: [May 3, 2019, 6:37pm UTC](https://forum.serverless.com/t/get-same-base-url-with-for-different-stages/8162/1 "2019-05-03T18:37:42Z")

</div>

I’m using the serverless framework to deploy to AWS. So far I only had a dev stage. Is it possible to get the same base url randomly generated by AWS but for prod? I.e. it should end with`/prod` and then support all the endpoints defined in my yaml file. I was able to create different APIs within Gateway but that is not what I want. Many thanks for your help

---

<div class="post-metadata">

### Author: ![QAnders](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/qanders/32/3151_2.png) [@QAnders](https://forum.serverless.com/u/QAnders)
#### Post date: [May 5, 2019, 4:27pm UTC](https://forum.serverless.com/t/get-same-base-url-with-for-different-stages/8162/2 "2019-05-05T16:27:36Z")

</div>

If you add another stage (= /prod) in your current API you will have the same base URL (but different URI’s of course).

I don’t fully understand your question so if you want the opposite (different base URL’s) then you just create a second API which will get its own Stage that will have a separate base URL.
