# Does adding a custom endpoint alias retain the original random URL?

**URL:** <https://discuss.elastic.co/t/does-adding-a-custom-endpoint-alias-retain-the-original-random-url/339449>\
**Category:** Elasticsearch\
**Created:** [July 27, 2023, 2:21pm UTC](https://discuss.elastic.co/t/does-adding-a-custom-endpoint-alias-retain-the-original-random-url/339449 "2023-07-27T14:21:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sparrowt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sparrowt/32/47163_2.png) [@sparrowt](https://discuss.elastic.co/u/sparrowt)\
**Post date:** [July 27, 2023, 2:21pm UTC](https://discuss.elastic.co/t/does-adding-a-custom-endpoint-alias-retain-the-original-random-url/339449/1 "2023-07-27T14:21:31Z")

</div>

If you create a 'custom endpoint alias' as described [here](https://www.elastic.co/guide/en/cloud/current/ec-regional-deployment-aliases.html), how long will the existing, original, random URL endpoints keep working for?

For example with an existing Elastic Cloud deployment with Deployment ID `Stringwith32randomHexCharacters` which currently has:

- Elasticsearch endpoint URL: [https://Stringwith32randomHexCharacters.region.aws.found.io](https://Stringwith32randomHexCharacters.region.aws.found.io)
- Kibana endpoint URL: [https://Adifferent32randomHexCharacters.region.aws.found.io:9243](https://Adifferent32randomHexCharacters.region.aws.found.io:9243)

if you then click 'Create an alias' and type for example 'mydeployment' it lists your new URLs such as:

- Elasticsearch endpoint URL: [https://mydeployment.es.region.aws.found.io](https://mydeployment.es.region.aws.found.io)
- Kibana endpoint URL: [https://mydeployment.kb.region.aws.found.io:9243](https://mydeployment.kb.region.aws.found.io:9243)

but makes no reference to whether (and for how long) the existing URLs will continue to work. The name 'alias' suggests that the original should last for ever, but this isn't clear and the consequences are quite significant.

These [old release notes](https://www.elastic.co/guide/en/cloud/current/ec-release-notes-2021-03-23.html) say:

> They don’t replace the existing URL, but work alongside it

which sounds promising - does that mean the existing URLs will continue to work indefinitely?

If so it would be helpful if the official documentation & also the [https://cloud.elastic.co](https://cloud.elastic.co) UI made this clear.

If the original URL does _not_ last indefinitely, this is a big deal due to the volume of references to the existing URLs for example in internal ticketing systems / documentation, user bookmarks, etc.

Many thanks in advance.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 24, 2023, 2:22pm UTC](https://discuss.elastic.co/t/does-adding-a-custom-endpoint-alias-retain-the-original-random-url/339449/2 "2023-08-24T14:22:18Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
