# How to mask mockserver url

**URL:** <https://community.postman.com/t/how-to-mask-mockserver-url/14160>\
**Category:** Help Hub\
**Created:** [July 15, 2020, 10:30am UTC](https://community.postman.com/t/how-to-mask-mockserver-url/14160 "2020-07-15T10:30:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cdxcz](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@cdxcz](https://community.postman.com/u/cdxcz)\
**Post date:** [July 15, 2020, 10:30am UTC](https://community.postman.com/t/how-to-mask-mockserver-url/14160/1 "2020-07-15T10:30:57Z")

</div>

I have mocked my API’s using postman mock server I want to mask the url of mock server ex : my current url **[kj3433434n34kjrh98434kjn.mock.pstmn.io](http://kj3433434n34kjrh98434kjn.mock.pstmn.io)** TO **examplename** this name i want to mock i have explored in google but no helpful article found. please help me

my current url : **[https://kj3433434n34kjrh98434kjn.mock.pstmn.io/test/api](https://kj3433434n34kjrh98434kjn.mock.pstmn.io/test/api)** expecting url : **[https://examplename/test/api](https://examplename/test/api)**

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [July 15, 2020, 10:56am UTC](https://community.postman.com/t/how-to-mask-mockserver-url/14160/2 "2020-07-15T10:56:43Z")

</div>

Welcome to the Postman community! 🚀

Are you to expand on _why_ you would like to mask the mock server in the URL and what is the intended use once it’s masked?

Is this for documentation reasons?

---

<div class="post-metadata">

**Author:** ![cdxcz](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@cdxcz](https://community.postman.com/u/cdxcz)\
**Post date:** [July 15, 2020, 11:51am UTC](https://community.postman.com/t/how-to-mask-mockserver-url/14160/3 "2020-07-15T11:51:19Z")

</div>

i want to name with some domain name. to know the mock like user mock … etc  
i want to know is there any possible way from postman to give a name to the mock URL so that outside i mean from UI or who ever using using it can easily understand with name

---

<div class="post-metadata">

**Author:** ![sudheernalubolu](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@sudheernalubolu](https://community.postman.com/u/sudheernalubolu)\
**Post date:** [November 29, 2022, 1:11pm UTC](https://community.postman.com/t/how-to-mask-mockserver-url/14160/4 "2022-11-29T13:11:18Z")

</div>

Bumping up old thread… This is required when mocking an external api whose base url is a configurable in my code. If we can’t change the postman mock base url, then I need to edit my configuration file to match the base url to what postman expects and change it back to the external base url before commit. Tried few things with the url variable but it is not working.
