How do I configure RemoteApp to find the correct Gateway Server?

I found the place where I made the mistake in Server Manager/Remote Desktop Services/Overview/Tasks Edit Deployment. The outside FQDN goes in the Server Name field. enter image description here