Solved

Setting up a website on IIS 7.

Posted on 2010-09-13
17
825 Views
Last Modified: 2012-08-13
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
Comment
Question by:frankbustos
  • 9
  • 8
17 Comments
 
LVL 30

Expert Comment

by:Brad Howe
ID: 33667884
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
 

Author Comment

by:frankbustos
ID: 33674682
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
 
LVL 30

Expert Comment

by:Brad Howe
ID: 33674698
Ok. what is your default document set to? - Hades666
0
 

Author Comment

by:frankbustos
ID: 33674781
when i right click Default Document i have several options. Where do I go to see what is set to?
0
 
LVL 30

Expert Comment

by:Brad Howe
ID: 33674809
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
 
LVL 30

Expert Comment

by:Brad Howe
ID: 33674820
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
 

Author Comment

by:frankbustos
ID: 33674849
this is what is under wwwroot

aspnet_client                FOLDER
bdgroup                        FOLDER
iisstart                          HTML Document
pageerror                     GIF Image
0
 
LVL 30

Expert Comment

by:Brad Howe
ID: 33674864
hmm.. so is bdgroup the website?
Can you browse to http://localhost/bdgroup 
Hades666
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

Author Comment

by:frankbustos
ID: 33675287
yes i can browse http://localhost/bdgroup
0
 
LVL 30

Expert Comment

by:Brad Howe
ID: 33675305
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
 

Author Comment

by:frankbustos
ID: 33675339
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
 
LVL 30

Accepted Solution

by:
Brad Howe earned 500 total points
ID: 33675414
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
 

Author Closing Comment

by:frankbustos
ID: 33675603
great! its up now, thanks for all your detailed help!
0
 
LVL 30

Expert Comment

by:Brad Howe
ID: 33675610
No problem. You might still have some issues after your testing. Let us know and we'd be glad to help - Hadesd666
0
 

Author Comment

by:frankbustos
ID: 33676088
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
 
LVL 30

Expert Comment

by:Brad Howe
ID: 33676128
Add a second binding just like you did in the bindings for brea-dentalgroup.com without the www. - Hades666
0
 

Author Comment

by:frankbustos
ID: 33676573
dang you are GOOD!!! THANKS AGAIN!!!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
encrypting section of web.config 1 48
.dwt files not viewable in browser - why? 2 75
Sharepoint Home Page (companyweb) blank 3 72
Redirect rewrite back to same address 3 60
First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now