Could someone briefly explain how these work together?

Is this correct: RDS is just a way to remotely connect to a web server-you would use dcom protocol if the server is within your network and http protocol if it is outside?