# Snapcast Default Page

This is the default welcome page used to test the correct operation of the Snapcast built-in webserver.

This webserver is a websocket endpoint for control clients (ws://host:1780/jsonrpc) and streaming clients (ws://host:1780/stream), but it can also host simple web pages. To serve a web page, you must configure the document root in the snapserver configuration file snapserver.conf, usually located in /etc/snapserver.conf

The Snapserver installation should include a copy of Snapweb, located in /usr/share/snapserver/snapweb/
To activate it, please configure the doc_root as follows, and restart Snapserver to activate the changes:

    # HTTP RPC #####################################
    #
    [http]

    ...

    # serve a website from the doc_root location
    doc_root = /usr/share/snapserver/snapweb/

    #
    ################################################