Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 877
  • Last Modified:

Setting up a website on IIS 7.

Hi Experts,

  I have no experience on IIS7 and here is what I would like to do. I had a website on server 2003 running iis 6.0. The server crashed completely where I had to buy a new server " motherboard fried". I do have a back up of inetpub and in that folder I have the following directories: Admin scripts, ftproot,mailroot,nntpfile and wwwroot. I did installed IIS 7 and have a bunch of new folder under c:\inetpub. Can I just replace that inetpub folder to get my website up and running again?
0
frankbustos
Asked:
frankbustos
  • 9
  • 8
1 Solution
 
Brad HoweCommented:
Hi,
Not necessarily.  What type of website was it? .net 1.1, 2.0, 3.5 etc..? Where there any virtual applications defined? What authentication types did you use?
While you could just overwrite the ftproot and wwwroot, it may not work as expected.
1. Create a WebSite. http://learn.iis.net/page.aspx/762/create-a-web-site/
2. Install FTP Server  - http://learn.iis.net/page.aspx/263/installing-and-configuring-ftp-on-iis-7/
If i were you, I would delete the wwwroot folder, restore your backup in there and start the site.
-Cheers, Hades666
0
 
frankbustosAuthor Commented:
Hi Hades666,

  I deleted the wwwroot folder and restore it from back ups. When i try to get to the site , i get this error below.

Under Construction


The site you are trying to view does not currently have a default page. It may be in the process of being upgraded and configured.

Please try this site again later. If you still experience the problem, try contacting the Web site administrator.


--------------------------------------------------------------------------------

If you are the Web site administrator and feel you have received this message in error, please see "Enabling and Disabling Dynamic Content" in IIS Help.

To access IIS Help
Click Start, and then click Run.
In the Open text box, type inetmgr. IIS Manager appears.
From the Help menu, click Help Topics.
Click Internet Information Services.
0
 
Brad HoweCommented:
Ok. what is your default document set to? - Hades666
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
frankbustosAuthor Commented:
when i right click Default Document i have several options. Where do I go to see what is set to?
0
 
Brad HoweCommented:
Hi,
http://technet.microsoft.com/en-us/library/cc771439(WS.10).aspx 
To use the UI
Open IIS Manager and navigate to the level you want to manage. For information about opening IIS Manager, see Open IIS Manager (IIS 7). For information about navigating to locations in the UI, see Navigation in IIS Manager (IIS 7).

In Features View, double-click Default Document.

In the Actions pane, click Add.

In the Name box, type the file name that you want to add to the list of default documents and then click OK. This file name will be added to the top of the default document list.

Optionally, select a default document in the list and in the Actions pane, click Move Up or Move Down to change the file's precedence.

Optionally, select a default document in the list, and in the Actions pane, click Remove to remove any file names that you do not want to use as default documents.

Cheers,
Hades666
0
 
Brad HoweCommented:
As per your restore,
Open Explorer and provide a screenshot of the files in your wwwroot. The construction page you are seeing is IIS6 default page.
Thanks, Hades666
0
 
frankbustosAuthor Commented:
this is what is under wwwroot

aspnet_client                FOLDER
bdgroup                        FOLDER
iisstart                          HTML Document
pageerror                     GIF Image
0
 
Brad HoweCommented:
hmm.. so is bdgroup the website?
Can you browse to http://localhost/bdgroup 
Hades666
0
 
frankbustosAuthor Commented:
yes i can browse http://localhost/bdgroup
0
 
Brad HoweCommented:
Ok, Is this your website? I will need more info if you want to help. I don't know how you want it configured.
- Hades666
0
 
frankbustosAuthor Commented:
yes it is the website...www.brea-dentalgroup.com. I don't know much about website but i just want it working from the link above to the outside.
0
 
Brad HoweCommented:
Ok. Thank you. Then let's do this.
Change document Root
1. Open IIS Manager
2. In the connections Pane, Select your website. Most likely Default Website.
3. In the right under Actions Pane, Select "Manage Web Site" and change teh Physical Path property from c:\wwwroot to c:\wwwroot\bdgroup.
NSLOOKUP & DNS Verification
1. Open IIS Manager
2. In the connections Pane, Select your website. Most likely Default Website
3. In the right under Actions Pane,  click "Bindings...."
4. Ensure there is a hostname entry for "www.brea-dentalgroup.com". Type=http, host Name=www.brea-dentalgroup.com, port=80 and IP is *.
If you DNS (www.brea-dentalgroup.com) is available externally and you IP NAT has not changed, then this should load now.
Test your site.
Let me know,
Hades666
0
 
frankbustosAuthor Commented:
great! its up now, thanks for all your detailed help!
0
 
Brad HoweCommented:
No problem. You might still have some issues after your testing. Let us know and we'd be glad to help - Hadesd666
0
 
frankbustosAuthor Commented:
ok, one more thing. If i type in www.brea-dentalgroup.com it works but if I just type in http://brea-dentalgroup.com/ i get a page not found. I quick fix for this?
0
 
Brad HoweCommented:
Add a second binding just like you did in the bindings for brea-dentalgroup.com without the www. - Hades666
0
 
frankbustosAuthor Commented:
dang you are GOOD!!! THANKS AGAIN!!!
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 9
  • 8
Tackle projects and never again get stuck behind a technical roadblock.
Join Now