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: 176
  • Last Modified:

Changing wwwroot folder for new intranet site

Hi
I'm in the process of building a simple intranet site for my company using IIS. We currently have a very old intranet setup and working, I have built a simple site and tests fine locally on my machine.
I have renamed the old wwwroot folder within c:\inetpub and copied over the new wwwroot folder, restarted IIS.

What else do I have to do in order for the new intranet pages to work? Is there anything I need to change in IIS Manager or maybe even the index.html file of the new intranet site?
0
Nick Smith
Asked:
Nick Smith
  • 3
  • 2
1 Solution
 
rhandelsCommented:
Normally if you copy the files over you only need to restart the webservice for it to unload the old one out of the cache.

Do make sure you have some file that can be seen by IIS as a starter page. index.html is a good one, this is already added to ISS as a default starting page.
0
 
Nick SmithHead of ITAuthor Commented:
But I have copied over the whole wwwroot folder (and renamed the old one) then restart IIS.
0
 
Nick SmithHead of ITAuthor Commented:
restarted IIS again and now works....thanks for help.
0
 
rhandelsCommented:
And it is not working?? That wasn't implied in the question..
What is not working then??
0
 
rhandelsCommented:
Oke, glad to be of help :)
0

Featured Post

When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

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