You need to add server to farm in sharepoint, then follow the stp by step below. Let’s say, there is some issue due to which you disconnected web front-end server from sharepoint farm. Once issue resolved, you need to join web front-end server to farm again.