Configuring application to work on a server