Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where could I get best step by step instructions (with some simple explanations) how to setup domain controller on Windows Server 2008 R2 Server Core?

I don't know what do I need? Do I need DNS as well and AD and so on and so forth. I don't know enough about these things, but I need to set them up to prepare development environment. I would also like to know how to configure firewall on DC machine, to make it visible on other machines because I've setup DC somehow but I can't connect to it...

This is my HW config:

  • Linksys internet router with DHCP
  • my dev machine is Windows 7
  • my DC machine is a VM in my dev machine
  • my dev machine has a hw network adapter to linksys and a virtual network adapter to DC
  • DC machine has two network adapters: one to linksys (to be internet connected so it can be updated etc.) and one to host (my dev Win7 machine)


My development machine should access domain controller and logon using domain credentials. Development machine would access internet directly via Linksys router. My domain controller machine would only serve authentication (and if I'm able to configure it right) should also have Active Directory Federation Services in a workable condition. I hope this is a bit more clear now. At least a small bit.

share|improve this question
Have you considered checking Microsoft's own web site? – John Gardeniers May 31 '10 at 9:41
up vote 1 down vote accepted

There's a fair post here and another here that will get you started. There will be a few parameters to go through but the mechanics of installing a domain controller isn't difficult. You will need DNS to be present too, yes...

One thing I would say though is just because you can doesn't mean that you should - there's a lot of "design" level questions that need to be answered to effectively set up active directory and no one but you can effectively answer those questions - we can't tell you what to do (As you're a dev, think of it as creating a business app for someone - you can code to automate their business process for them but you can't tell them how to run their business or what their "business process" ought to be - it's their business).

There is a lot of stuff about designing active directory, effectively configuring a server to be a domain controller, etc. on the Microsoft website and I'd strongly suggest doing some research there and thinking about what you're trying to accomplish rather than just look for "cookbook" solutions. You'll be happier in the end this way.

As for connecting via the DC to the outside world... I'd strongly suggest you don't - lots of risk to connecting a DC to the internet and without wishing to be rude I don't think you're in a place to deal with this effectively... Set up another VM to handle the internet connection, really.

Based on your edits:

The "full" version would certainly make setting up and configuring a lot easier. It's really not that difficult to cobble something together based on the circumstances you've now described. If you're using the full version, install DNS, install the Active Directory role, install any "required" components it claims you need for AD, let the DCPromo wizard run and tell it that you're creating a new domain in a new forest. It kinda walks you through it from there.

share|improve this answer
The reason why I'm looking for short and effective cookbooks is time, that I don't have. I could buy myself a book on domain controller and active directory and DNS as well, but I don't really have time to study all these things now. Sidenote: I won't be connecting to the outside world via DC. My dev machine will connect directly. DC is connected to internet just because I can run windows updates. Check my edit. – Robert Koritnik May 31 '10 at 13:34
Yes I have seen the first link, but most of the time all guides create some kind of replica domains or child domains etc. I want to create a first-level-out-of-nothing-primary-domain. I'll try reinstalling to full install instead of server core because management would be a bit easier on me. Hopefully. – Robert Koritnik May 31 '10 at 13:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.