I've copied a whole folder which keeps a website inside from a web server to another computer.From the original server I can easily run the web application. Now I need to know what exactly I have to do in order to be able to run the application on the second computer too. I think there are some special considerations with IIS. What and how do I have to set up in IIS?
-
Your question is very vague! What version of Windows are you using? What version of IIS? Is it ASP, ASP.NET, plain HTML or some other technology? Do you have these installed?Greg B– Greg B2011-08-24 11:47:23 +00:00Commented Aug 24, 2011 at 11:47
-
Sorry for asking a question without providing th needed information. I didn't actually know what I had to provide.It's windows server 2003.IIS version is 6.0 The application is written on ASP.NET.Mikayil Abdullayev– Mikayil Abdullayev2011-08-24 12:05:51 +00:00Commented Aug 24, 2011 at 12:05
-
ASP.NET 1, 2, 3, 3.5 or 4? ;)Greg B– Greg B2011-08-24 12:07:33 +00:00Commented Aug 24, 2011 at 12:07
4 Answers
Follow these steps.
- create a new site from left menu By right clicking and add new website.
- Give physical path to that folder
- Map with the site url
- Give permissions to Directory as (like everyone)
- Set up the default page if (index page is not present in the directory)
- Set framework which ever you are using.
Comments
- Install the IIS Windows component for whatever version of Windows you're using.
- Create a new site in IIS
- Point this new site to your web root
- Configure DNS for the site (maybe using your hosts file)
3 Comments
There are some considerations to make depending on which version of IIS you are using. It would be helpful to know if you are using 6 or 7. If you are under 7, you need to copy the site to your IIS directory (typically wwwroot) and then setup the basic settings in IIS by choosing your application pool and such. Application pools are typically (but not always) setup by .Net Framework. You may need to setup your default page and set it as an application. There are many blogs and sites out there that will tell you how to setup this basic functionality but are specific to your application.
Comments
For configuring IIS 1. Firstly, in Programs and features go to Turn on and off windows features...in that tick everything under IIS..go to sub folder and tick everything everywhere
Go to Internet Explorer> Setting> Internet Options> Advanced> untick Show friendly http error messages option
Go to IIS manager a. In default application pool> advanced settings > Set true enable 32-bit program option b. Go to Asp> setting> expand debugging properties> there will an option of error messages some 2nd last or last option that would be false...set it to true..apply changes
Run vbscript and asp only in Internet Explorer (edge 10 in developer options for pop ups)