Solved

Setting up a website on IIS 7.

Posted on 2010-09-13
17
833 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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
 

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

813 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

16 Experts available now in Live!

Get 1:1 Help Now