Link to home
Start Free TrialLog in
Avatar of frankbustos
frankbustosFlag for United States of America

asked on

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?
Avatar of Brad Howe
Brad Howe
Flag of Canada image

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
Avatar of frankbustos

ASKER

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.
Ok. what is your default document set to? - Hades666
when i right click Default Document i have several options. Where do I go to see what is set to?
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
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
this is what is under wwwroot

aspnet_client                FOLDER
bdgroup                        FOLDER
iisstart                          HTML Document
pageerror                     GIF Image
hmm.. so is bdgroup the website?
Can you browse to http://localhost/bdgroup 
Hades666
yes i can browse http://localhost/bdgroup
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
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.
ASKER CERTIFIED SOLUTION
Avatar of Brad Howe
Brad Howe
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
great! its up now, thanks for all your detailed help!
No problem. You might still have some issues after your testing. Let us know and we'd be glad to help - Hadesd666
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?
Add a second binding just like you did in the bindings for brea-dentalgroup.com without the www. - Hades666
dang you are GOOD!!! THANKS AGAIN!!!