For those who have never deployed websites on Windows Server, the process may seem complicated and incomprehensible. Therefore, in this short article-manual, I want to talk about the complete installation and configuration process - from the moment you boot from the installation disk to the deployment of Wordpress. I will show that the process is simple and even enjoyable.
What do we need?
- Windows web Server 2008 R2 distribution ( trial version will be suitable for experiments, then it can be activated using a license key)
- Computer with 64-bit processor (x64), 1 GB of memory and DVD-drive
- Dedicated static IP address provided by your ISP
- An hour of time in order to install and configure a web server
If we have all this, then - let's go!
Step 1. Booting from the installation disk
We install a boot from the disk in the BIOS, insert the disk and, after a reboot, press any key after the “Press any key to boot from CD” message appears.
Step 2. Install Windows Web Server 2008 R2
After downloading the installer from the disk, the following screen appears.
')

You can leave the default settings and go to the next screen.

There is only one button that starts the installation. Starting the server installation is very easy!
Before installation, you must select the version of Windows Web Server 2008 R2. The choice offered Full and Server Core version. If you select Full, the GUI will be installed, and if you are installing the server for the first time and do not know how to manage it from the console line, you should select the Full version.
During the installation process, the necessary files will be unpacked and installed.

After that, the computer will automatically restart - after a reboot, you should remove the CD from the DVD-ROM drive, or cancel the boot from the CD in the BIOS to boot the installed system.
After the reboot, the Windows Server Installer will offer to accept the license agreement, and then finish the installation.
After the second reboot, the system will be fully installed and you will only need to configure the web server to run the website on it.
Step 3. Configure the web server
After the first download of the web server, you will see a screen with a set of links to manage the server.

Configure network settings
Since the server needs a dedicated static IP address received from the provider, you will probably need to configure the network settings in accordance with the instructions that the provider will tell you - the IP address, Gateway, DNS server address.
In order to configure network settings in the main server management tool mentioned above, click the Configure Networking link, then right-click on the icon of the active network connection and select the Properties menu item.

Then select Internet Protocol Version 4 (TCP / IP v4) in the list, click the Properties button.

In the window that opens, specify all the parameters reported to you by your ISP or local network administrator.
To start the web server, on the above screen of the server management tool, click the Add roles link and select the Web Server (IIS) in the window that opens.

After that, click Next several times to install the web server.
After the installation is completed, the web server will start automatically and you can view the default website by typing
localhost in the browser window, or the server’s IP address.

In order to manage the web server in the main menu, you need to launch the Internet Information Services (IIS) Manager application. Instructions for using Internet Information Services (IIS) Manager can be found at
learn.iis.net and at
www.techdays.ru .
From now on, you can already host HTML pages on your newly installed web server.
Step 4. Installing the website
Just a server without a dynamic site, probably, is not needed by anyone. Therefore, a good idea is to install applications.
In order to facilitate this process, a special tool Web Platform Installer has been created, which can be downloaded from
microsoft.com/web .
Open the site
microsoft.com/web. Since the server is configured with an enhanced security system, windows will appear with messages about blocked items on the site pages. So that these windows do not annoy you, uncheck the Continue to prompt and click Close.

After that, in Internet Explorer 8 settings you need to open the Tools -> Internet Options window, select the Security tab, click on the Trusted Sites icon, click the Sites button and remove the Require server verification checkbox in the window that appears, enter the address
download.microsoft.com and click Add. Close the window and continue working with the browser.
Download and run the
Web Platform Installer .
After launching the Web Platform Installer, you can immediately start installing popular web applications. Let this time be the popular Wordpress blogging engine.
To install Wordpress, click on the Web Applications tab on the left, scroll through the list to the end and put a checkmark next to Wordpress.

Feel free to click Install. You will be shown a list of components that will be installed and configured for Wordpress.

Click I Accept. After that, you will be asked to come up with a password for the MySQL database administrator - think up and write it down somewhere, so as not to forget, you will need it during the further installation.
The installation will begin, all components will be downloaded and installed, after which the tool will ask a few additional questions.
First, the name of the site for which you want to install a web application. You can leave all the default settings.

Then you will need to configure the database: specify the administrator password that you invented in the previous step and fill in the empty fields - mainly the key phrases necessary for security and the password of the database user to set up the website - you may also need this data in the future that's why it's better to write them down somewhere.

After all the settings, you can click on the Launch Wordpress link and continue setting up the site itself in the browser.

You need to come up with a blog name and enter your e-mail address, after which a password will be generated for you, of course, you need to write it down somewhere - you will need it to access and manage the site.

Everything, the site is installed and you can work with it! See how easy it is to set up a website. Just a few minutes.
Step 5. Binding a domain name
In order to associate a domain name like vasya-pupkin.ru to your site, you need to register this domain name, for example, on the nic.ru website, and then configure the DNS server of the domain name registrar as specified on the registrar's website so that these domain names referred to the IP address of your server.
After that, you can bind the domain name to the site. To do this, in the Internet Information Services (IIS) Manager tool, you need to select a site (by default, there is one Default) and click the Bindings ... link in the right pane.

In the window that opens, add the domain name with which this server should respond.
