How to use remote desktop with Host Name?

1

I have setup my old PC as the server. It has Window XP Professional with Service Pack 3. Remote desktop is enabled and everything is in place (read the last paragraph).

My new PC is Windows 7 Professional and I want to use it as my client. Even here pretty much everything that is necessary works (read the last paragraph).

So on the server I used "ipconfig /all" and found out that the host name is "sam-ac" and the Connection-specific DNS Suffix is "at.hathway.net". Therefore on my client pc I tried typing the computer address as "sam-ac.at.hathway.net" expecting the Remote Desktop Client to take me to the log in screen of my server. Instead it pops up a message reading something similar to "Remote desktop can't find the computer "sam-ac.at.hathway.net". This might mean that "sam-ac.at.hathway.net" doesn't belong to the specified network. Verify the computer name and domain you are trying to connect to." The link I referred to is: http://www.tr.txstate.edu/get-connected/computerservices/remote-desktop-setup.html

I do have a way to use remote desktop. I obtain an ip address and I use the static ip option. My server is directly connected to the internet through a cable modem. So the ip address I see by Googling "my ip" is exactly the same as I see using "ipconfig /all". Effectively I can access my server from anywhere on the internet. Even when I am connected to the internet through my university vpn using my client pc. This method works really well except for the fact that my ISP changes the ip address assigned to me every other day. So I have to set the obtain ip address automatically option on my server, then get a working ip address and then set that as my static address. I want to get around this setting-resetting of ip address every other day. This will be really useful if I am on a weeklong trip away from home. Please recommend any solution.

Shashank Sawant

Posted 2012-04-16T18:41:46.703

Reputation: 672

I have found a working solution to this problem, but am still looking for a better one. The solution that I currently use if: setup Teamviewer -> login to my system using Teamviewer -> find out my ip address -> connect through Remoter Desktop -> close Teamviewer. – Shashank Sawant – 2012-04-16T19:47:43.313

The problem with the above solution is that I can't allow my server to go to stand-by. With remote desktop (if I know the ip) after the server goes to sleep, I simply wake it up by sending Magic Packets using UDP. If you know the solution to bring the computer out of stand-by using TeamViewer, please share. – Shashank Sawant – 2012-04-16T19:49:25.463

Answers

3

If I understand you wish to access your system with RDP from a location off your local network. If that is the case, have a look at something like Dynamic DNS. There are others as well and a Google serach will help. Your system will need a client to keep the system updated. Once setup, you will access via a name like server.dyndns.org. The name is chosen by you but uses one of the Dynamic DNS providers domain names.

Many small routers support Dynamic DNS. For example, D-Link offers the service with their routers and it works well. I use it daily.

Your alternative is to register a domain and setup DNS with the provider and configure the needed records for acccess.

Dave M

Posted 2012-04-16T18:41:46.703

Reputation: 12 811

I don't have a router. It's just my cable modem. But I will trying searching further on the lines of Dynamic DNS. Great thanks! – Shashank Sawant – 2012-04-16T19:42:39.997

It is possible to download programs to your server to automatically update the dynamic dns. Just check your favourite dynamic dns service and they'll probably have a free download. – erikxiv – 2012-04-16T20:30:43.630

0

Two answers... try just connecting to "sam-ac" if you are in the same domain... and second try to hit the 3389 port from your machine and see the results... either through nc, tcp ping, or just pull up wireshark and try to connect to rdesktop again... let me know what you get as a result of both. :)

Ryan

Posted 2012-04-16T18:41:46.703

Reputation: 126

The first thing that I tried was "sam-ac". But since I am trying to login from a different network (trying to login over the internet), this solution didn't work. I didn't understand your 2nd solution. If I know the ip then I already have a solution. If I don't have my server's ip (assuming my ISP regularly changes it) how should I specify the port "3389"? Thanks for the suggestions! – Shashank Sawant – 2012-04-16T19:45:46.450

oh crap missed that... my bad... need to think about it a second... the obvious answer is that you are unable to resolve the dns from rdesktop... not sure though at the moment as to why... lol if i could be there i bet i could figure it out... – Ryan – 2012-04-16T19:47:42.093