Core Docs - Supporting Rock - Configure a Two-Server Environment
Rock Version: v19.0
Last Modified: 2025-11-06 12:32 PM
If you were looking at the system requirements in this guide's introduction, you might have noticed that there is a two-server configuration for larger installations. Even for smaller installations, we recommend two servers for the following reasons:
It's All in the Details
The process for setting up a two-server environment is not that much different from the single-server setup described in this guide. Here is a high-level task list for each server:
Database Server
Web Server
Be sure to check out the rest of the Rock guides and topics to help you get started.
Self-Installing Rock
If you're installing Rock and SQL Server on separate VMs or servers yourself, in your own network (not in Azure), then port 1433 should only be open to the Rock server. This is so Rock itself can talk to the SQL db. In this setup your self-hosted SQL server should not be NATed (exposed via a public IP) to the Internet at all. It should be internal to your network with only Rock (and perhaps a dev machine) allowed to talk to it.
To do this, open the firewall rule you created in the Installing & Configuring SQL Server article. Under the Scope tab, add the IP address of your Rock web server to the Local IP address if it's on your internal network, or to the Remote IP address section if it is external to your network. No other ports need to be open if the database is external to the network (i.e., on another external server).