Hello Nisarg, to answer your questions websockets.conf file is just setting up a dedicated website to handle the websockets connection, an alternative to this is to simply add the ‘app/’ and the ‘apps/’ proxy pass to your default website
For question 3, the server name will be whatever your application domain is
The above tutorial was targeted for people who mainly wanted to set up a shared websocket I.e. so that you can have multiple applications using the same websockets without the need to run multiple websockets especially when if you can reuse websockes from the a single app