The Ramblings of Two Microsoft .NET Developers, TFS, and Visual Studio ALM Guys --- "Yes, we are both named Ed."

Join computer to domain across site to site VPN



If you have a computer that you want to join a domain and the computer is connected via VPN you need to do the following steps. Hopefully this will helps someone, unlike me, I had to figure this out myself after search google high and low with no help.

1. Connect your site to site VPN.
2. Configure your VPN appliance to use the targeted domains IP as the DNS
3. Join the domain form the computer properties the usual way except, instead of using the pre-2000 domain name ie "Network", you need to use the fully qualified name ie "MyNetwork.com"

Now if newly joined PC is on a different subnet than you Domain Controller you will need to do this in order to access internal servers/PCs via a remote connection by name:

Go to <root system Dir>\System32\Drivers\etc\    Look for the file name "hosts". In that file you will need to map your Servers/PCs name and IP address.

Keep in mind if you join your PC to a domain while at the domain site and not thru VPN, then take it offsite, you will not need to do these steps. This is only for joining a PC connected via VPN that has never been joined before.

Ed K.

Posted in


Sunday, February 21, 2010 1:30:35 PM (Pacific Standard Time, UTC-08:00)
Thank for this tips
Is exactly that was i need.
I am happy that thit site never lost this value information
i am sorry for my english. I am not a english native.
But again Thank.

William Ortega
william ortega
Thursday, March 07, 2013 4:26:58 PM (Pacific Standard Time, UTC-08:00)
Thanks been wanting to learn this how nice of you seriously
Sean Torres
Thursday, March 07, 2013 4:27:35 PM (Pacific Standard Time, UTC-08:00)
Thanks been needing this info very nice of you
Sean Torres
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

[Captcha]Enter the code shown (prevents robots):

Live Comment Preview