Skip to main content
Participant
January 15, 2011
Question

Vhost connects to _defaultVHost_

  • January 15, 2011
  • 1 reply
  • 905 views

Good Day

I have a production FMS at www.mydomain.com  at C:\Program Files\Adobe\Flash Media Server 4\conf\_defaultRoot_\_defaultVHost_
Also, i created vhost at devfms.mydomain.com at C:\Program Files\Adobe\Flash Media Server 4\conf\_defaultRoot_\devfms.mydomain.com
I can connect to the dev vhost from admin panel and i can see all the applications and can start new instances of them
but when i'm try to conncet from flashapplication, it connects to the  _defaultVHost_ instead of devfms.mydomain.com
i can see at the access.00.log that it's tryinf to access the  _defaultVHost_

FMS 4.0 64 bit on Windows Server 2003

Thank You.

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    January 16, 2011

    Hi,

    I am just copying the steps to add a VirtualHost from the documentation, please verify if you have followed all the steps correctly, specially step7:

    Add a virtual host:


    1. Create a folder with the name of the virtual host in an adaptor folder, for example, RootInstall/conf/_defaultRoot_/www.example.com.
    2. Copy an Application.xml file, a Vhost.xml file, and a Users.xml file to the new virtual host folder. (The Users.xml file is required only if you are defining administrators for this virtual host.)
    3. In the Vhost.xml file, specify an application directory in the AppsDir element, for example:
    <AppsDir>C:\www.example.com<\AppsDir>
    Note: It is possible to use the same applications directory for multiple virtual hosts, but it causes namespace conflicts and is not recommended.
    4. Validate the XML and save the Vhost.xml file.
    5. Restart the server.
    Note: You can call the startVHost() Administration API or log in to the Administration Console without restarting the server.
    6. Log in to the Administration Console.
    For information about logging in to the Administration Console, see “Connecting to the Administration Console” on page 39.
    7. Connect to the new virtual host by specifying the virtual host name, for example, www.example.com, in the Server name field.
    8. Connect a test application to the new virtual host to make sure it works.

    Participant
    January 17, 2011

    Hi,

    I did all those steps, and I can connect from the admin console to the vhost, and create apps instances.

    but i can not connect to the vhost from the flash. i'ts trying to connect to _defaultVHost_

    January 17, 2011

    Did you create a DNS A record on your DNS server that matches your new Vhost? If not, and you're using the same DNS hostname (or direct IP address) you're using for the default Vhost, all connections will go to the default Vhost.