Add an Existing Server
If you have servers provisioned outside of your desired environment on Devopness, you can still connect them to your Devopness account and take the most of the Devopness infrastructure management features.
- 
On Devopness, navigate to a project then select an environment 
- 
If there's no other server in the selected environment, just click Add Server
- 
If a list of resource cards is displayed, find the Serverscard
- 
Click Viewin theServerscard to see a list of existingServers
- 
On the upper-right corner of the list click ADD SERVER
- 
On the Cloud Providerdrop-down menu chooseVPS/Self Hosted
- 
Provide the Public IP addressof your existing server
- 
Enter the SSH Portto be used to connect to the servernoteWe do not recommend connecting servers that are already being used in production. Server's existing configuration will be lost and replaced by Devopness during the server setup process 
- 
Click NEXT
- 
Follow the prompts to complete the configuration of the new Server
- 
Click CONFIRM- If you see a message saying Error establishing a SSH connection to server, please verify if the IP address and SSH port used are correct and if external SSH connections are allowed on this server
 
- If you see a message saying 
- 
After the Serveris added you will be redirected to theConnectpage
- 
Find the Command to connectfield and clickCopy to clipboard
- 
Log into your server as the rootuser
- 
Paste the command that has been copied to the clipboard and run it 
- 
A message will be displayed in the terminal window when the server connect command is successfully completed 
- 
On Devopness, once the server is displayed as Connected, it's been added to the selected environment