Score:1

Remote Desktop without using IP address but with a domain name (URL)

mr flag

I have a VPS (say, 13.15.65.5) with Windows 2019 and I want to access it by using the Remote Desktop service with a subdomain without using the IP of the VPS.

I configured all settings for the subdomain by using the IP of the VPS in Cloudflare. Then I checked it by pinging the URL and received the messages "Reply from..." and "Success 100%".

But still, I cannot access the server by using that URL with Remote Desktop. Please help me to resolve this.

enter image description here

enter image description here

vidarlo avatar
ar flag
Can you include a screenshot of how things is set up in CloudFlare? Is the IP shown when pinging the IP of the VM?
chandrasiri avatar
mr flag
Thank you. Ok, I will do it.
Score:1
ar flag

You proxy your subdomain through Cloudflare. That only works for HTTP(S).

For RDP, you need a DNS record pointing to your IP, so turn off the Proxy status.

chandrasiri avatar
mr flag
Super simple. It works. Thanks a lot.
vidarlo avatar
ar flag
@chandrasiri Please consider accepting the answer if it solved your problem. Otherwise it'll pop up again looking for new answers every now and then.
chandrasiri avatar
mr flag
I accept your answer. But I don't know how to make your answer "acceptable". May I know the way to do it?
vidarlo avatar
ar flag
There's a small check mark next to the answer. You click that to [accept the answer](https://serverfault.com/help/someone-answers).
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.