• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 417
  • Last Modified:

New website on IIS does not work

We just had a new website designed and created for us. I was given the web files today.
After removing the old files, from the folder that contained the old website (under wwroot),
I placed the new website including the index.html home page file.
I am unable to browse our website now. Even when right clicking the website in IIS and clicking on browse , I get the unable to display page.  When using I.E I get this error " You might not have permission to view this directory or page using the credentials you supplied. HTTP Error 403 - Forbidden

When using firefox, I get This Virtual Directory does not allow contents to be listed.

I tried restarting IIS , but it did not help. I have only changed the files and have made no modification in IIS .
Thank you,
  • 2
1 Solution

In Windows Explorer right click on your virtual directory folder, select Security Tab and
enable permissions for IUSR_computer_name user.
If you installed ASP.NET application enable permissions for ASPNET user also.

Also make sure that permissions were enabled for child folders and files

When you copy files from another computer you may lose permissions.
netcompAuthor Commented:
Ok, I figured some fo the issue, but there is one more thing to fix.
After enabling index.html instead of index.htm as the home page header, the issue was resolved, but I am unable to open any php links whin the webpage. The Contact US page in in php and we are unable to open it when we click on the link. How  do I enable PHP in IIS. I think that's the problem.

HTTP Error 403 - Forbidden error normally comes up when you don't have index / default page under your website's wwwroot directory. As you are saying that you have index.html page in wwwroot directory that means default page is not set for your website that's why you are getting this error. Do the following steps

* Open IIS
* Right Click on website -> Properties
* Click on Documents Tab
* Click on add
* type index.html
* Click on Move up button and set this extension to the top of the list
* Click ok -> ok

and problem gets resolved for you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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