# Vhosts.xml and vhost.xml

**URL:** <https://community.wowza.com/t/vhosts-xml-and-vhost-xml/155>\
**Category:** Wowza Streaming Engine\
**Created:** [September 18, 2007, 4:23pm UTC](https://community.wowza.com/t/vhosts-xml-and-vhost-xml/155 "2007-09-18T16:23:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [September 18, 2007, 4:23pm UTC](https://community.wowza.com/t/vhosts-xml-and-vhost-xml/155/1 "2007-09-18T16:23:57Z")

</div>

Another newbie question.

I have added 3 virtual hosts folders as per instructions in chapter 7, and copied the necessary folders into them. What I need to know now is:

1. When I edit vhosts.xml, is this done in the main conf folder (which is what I have done), or within the conf for each virtual host?

2. When editing the vhost.xml, is this done in the main conf folder or within the conf for each virtual host?

3. Under the application folder, should I copy all of the examples that I installed earlier?

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [September 18, 2007, 10:19am UTC](https://community.wowza.com/t/vhosts-xml-and-vhost-xml/155/2 "2007-09-18T10:19:18Z")

</div>

> When I edit vhosts.xml, is this done in the main conf folder (which is what I have done), or within the conf for each virtual host?

main conf folder

> When editing the vhost.xml, is this done in the main conf folder or within the conf for each virtual host?

within the conf for each virtual host

> Under the application folder, should I copy all of the examples that I installed earlier?

If you want to make them available to each of the virtual hosts, then you need to copy the contents of the main **applications** and **conf** folders to each of the virtual hosts **applications** and **conf** folders.

Charlie

---

<div class="post-metadata">

**Author:** ![Corey\_Sheppard](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@Corey\_Sheppard](https://community.wowza.com/u/Corey_Sheppard)\
**Post date:** [September 19, 2007, 5:10pm UTC](https://community.wowza.com/t/vhosts-xml-and-vhost-xml/155/3 "2007-09-19T17:10:52Z")

</div>

I am not sure what I have configure wrong. I have included the content from each of the files I think are nexessary.

This is what I have set as my vhosts.xml in my conf folder:

vhost1

/usr/local/WowzaMediaServerPro-1.3.1/vhosts/vhost1

0

vhost2

/usr/local/WowzaMediaServerPro-1.3.1/vhosts/vhost2

0

vhost3

/usr/local/WowzaMediaServerPro-1.3.1/vhosts/vhost3

0

This is my vhost.xml which is in the vhost1/conf folder:

4

209.31.123.138

1935

true

32768

65536

true

com.wowza.wms.http.HTTPServerVersion

200

24

4

50

2

3000

true

65536

32768

true

2000

90000

250

60000

This is my application.xml from vhost1/conf:

true

default

/home/t3remote/public\_html/video

base

Base

com.wowza.wms.module.ModuleCore

properties

Properties

com.wowza.wms.module.ModuleProperties

logging

Client Logging

com.wowza.wms.module.ModuleClientLogging

fastplay

Fast Play

com.wowza.wms.module.ModuleFastPlay
