The Nineteen Steps To Get Windows Web Server Up And Running On The HP public cloud.
Pre-requisites: You’ve gotten your Server 2008 R2 server up, running, updated. You can rdp to the desktop. You know the public IP address. If not do these 23 steps first.
If you haven’t disabled initial configuration tasks yet (the giant window on your screen) you can get started from there, but I’ll assume its not being shown at logon any more.
1. Click on the Server Manager icon on the taskbar, then on Roles and then Add Roles.
2. Next through Before You Begin…, then check Web Server (IIS) at Server Roles and Next.
3. Next past the Introduction.
4. Next past Role Services.
5. Install. Close after Installation Succeeds (about a minute).
6. Click on the Action Center (little white flag on right side of taskbar). Click on Windows update and check for updates. Install the 1 important update.
7. Restart now. Go pet the cat for about 5 minutes.
8. Open up a browser window, and enter your public IP address (126.96.36.199 in this instance) in the address bar. What do you know, you see the IIS7 Welcome screen:
9. Server manager will have restarted, so expand Roles + Web Server (IIS) + Internet Information Services Manager, then click on WIN-NOSEBLEED (or whatever random name you got) + Sites + Default Web Site. (I know that seems a lot longer than one step).
10. Double click on Default Document.
11. Click on index.html, then click the arrows to move it to the top of the list.
12. Close Server Manager and click on the File Manager icon on the taskbar.
13. Over on the navigation pane (the left), click on Computer + Local Disk (C:) +inetpub + wwwroot.
14. Left click on the white area, then right click and New > Text Document.
15. Edit the text document to put some minimal html in it, like:
<html> <body> Say hello at firstname.lastname@example.org </body> </html>
then save it as index.html and close it.
Since this is a Microsoft product, any time a task risks becoming too simple and understandable it must be punished, and Server 2008 makes no exceptions to this rule. In this case, Server will not let you change the text document you just created into an html document (i.e. change the extension). So….
16. Left click on the white area, then while holding down the SHIFT key, right click on it. You should see the right key menu open with a new option, ‘Open a command window here’. Click that.
17. Type dir and return, and you should see a file called index.html.txt. Type ren index.html.txt index.html and hit return. Type dir and return again to verify the file was renamed.
18. Go back to your browser and reload your web page to see your message on a field of white.
19. You’re done! You might want to take a half hour or so and learn the rest of html and css, and maybe skip a coffee break to pick up sql and e-commerce. I can try to answer questions (you know the email) but I’m building an Airbus 380 in my garage the rest of this week…