added optional path where app resides on domain