# StreamNameAlias on Wowza 4.0

**URL:** https://community.wowza.com/t/streamnamealias-on-wowza-4-0/40061
**Category:** Wowza Streaming Engine
**Created:** [December 3, 2014, 9:27pm UTC](https://community.wowza.com/t/streamnamealias-on-wowza-4-0/40061 "2014-12-03T21:27:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Duc\_Thuan](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@Duc\_Thuan](https://community.wowza.com/u/Duc_Thuan)
#### Post date: [December 3, 2014, 9:27pm UTC](https://community.wowza.com/t/streamnamealias-on-wowza-4-0/40061/1 "2014-12-03T21:27:45Z")

</div>

Dear,

anh want reg more alias for the stream.

my live stream: channel1.stream

please help me switch to: mychannel1.stream and ourchannel1.stream.

i much try config in ${com.wowza.wms.context.VHostConfigHome}/conf/aliasmap.play.txt

> \*.stream=${Stream.Name}
> 
> \*=${Wildcard.Match1}.stream
> 
> \*.stream==${Stream.Name}
> 
> \*=${Stream.Name}.stream

but it’s not work and report log access.

> 2014-12-03 21:17:20 ICT comment server INFO 200 - ModuleStreamNameAlias.nameToAlias[play]: streamName:channel1.stream alias:{pattern: “\*.stream” alias:“${Stream.Name}” wildcardMatches:{[0]: “channel1”}} result:channel1.stream-- - 200.942 - - - - - - - -

thank all.

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [December 4, 2014, 9:25am UTC](https://community.wowza.com/t/streamnamealias-on-wowza-4-0/40061/2 "2014-12-04T09:25:20Z")

</div>

Hello there.

I am sorry but I am not 100% sure what you have going on here, but its worth mentioning that you cannot use alias names with .stream extension in StreamNameAlias. There is no way around that right now. Wowza treats stream names with .stream extension as aliases that resolve to the contents of the file, so you can’t use them as an alias in StreamNameAlias.

If I have misunderstood your question I apologize. Please feel free to explain your requirements again if this is not a satisfactory response.

Kind regards,

Salvadore
