Author Topic: IIS Web Server  (Read 1776 times)

johnmical

  • Blue Belt
  • ****
  • Posts: 102
  • Karma: +0/-0
IIS Web Server
« on: September 06, 2013, 10:27:51 AM »

Hi  :)

Anybody can tell me how to install our Web Application In IIS Web Server?? :) :)





Shemeer

  • Blue Belt
  • ****
  • Posts: 108
  • Karma: +0/-0
Re: IIS Web Server
« Reply #1 on: September 08, 2013, 06:49:11 AM »

Hello john,


There are different way to deploy the web application in web server like
1- X Copy deployment
2- create setup package and install the server machine
3- use the deployment tools and configure the server
repositery and drag and drop all files in your machine to virtual folder of server machine.

thanks,
Shemeer

johnmical

  • Blue Belt
  • ****
  • Posts: 102
  • Karma: +0/-0
Re: IIS Web Server
« Reply #2 on: September 08, 2013, 06:50:17 AM »

Hi shemeer,

   Can we run multiple websites with same port number and different IP address?  :) :)


Shemeer

  • Blue Belt
  • ****
  • Posts: 108
  • Karma: +0/-0
Re: IIS Web Server
« Reply #3 on: September 08, 2013, 06:51:39 AM »


Hello john,


Yes, We can use multiple websites with same port number and different IP address.


Thanks,
Shemeer

melby@datasoft.ws

  • Blue Belt
  • ****
  • Posts: 197
  • Karma: +0/-0
Re: IIS Web Server
« Reply #4 on: September 08, 2013, 09:03:24 PM »
Hello,


Listed below are the steps to deploy a web app in IIS.

Click start. Click Run.
Type inetmgr in the Run dialog Box.
Expand the localComputer. Right Click on the Sites. Click Add New Site
Type the name of the web site. In my case, it is "MyWebSite". Type the location of the web application or site. Give a port number (You have to manually add this port number to inbound rules of Windows Firewall later)
. And then press OK.
If a connection with that port number already exists, then give another port number.

Right click on the site name ("MyWebSite" in my case), click on "Manage Web Site" and "Browse".
In the sub directories of the web site, if any web.config files are present, remove the tags with names authorization, roleprovider, profile, members. As this may cause the error
Change the Framework of the application pool to v4.0:Change the "CodeBehind" in the aspx file to "CodeFile".

Change the URLs to the appropriate directory. (Since ~ means root directory, it has a different meaning when executed in Visual Studio when compared to IIS.)

All the above steps make the site work from the same computer in which IIS is installed. If you go to another computer and type the IP address of the system (in which IIS is installed), then you may not be able to access the website.
 For this, you have to configure the port in the Windows Firewall.
Open the Windows Firewall from control panel as "Control Panel\All Control Panel Items\Windows Firewall". Click "Advanced Settings".
Right click on InBound Rules as shown below. And fill the details as necessary.
That's it! You can access the web site (hosted with IIS) from within the LAN by just typing the IP address of the system on which IIS is installed as:
Thanks,
Melby,
www.datasoft.ws.

johnmical

  • Blue Belt
  • ****
  • Posts: 102
  • Karma: +0/-0
Re: IIS Web Server
« Reply #5 on: September 09, 2013, 02:15:13 AM »

Hi,  ;)

Can you explain how do we double-boot a Win 2003 server box? ?


Shemeer

  • Blue Belt
  • ****
  • Posts: 108
  • Karma: +0/-0
Re: IIS Web Server
« Reply #6 on: September 09, 2013, 02:23:23 AM »

Hello john,

The Boot.ini file is set as read-only, system, and hidden to prevent unwanted editing.
To change the Boot.ini timeout and default settings, use the System option in Control Panel from the Advanced tab and select Startup.

Thanks,
Shemeer

nidhinpereira

  • Green Belt
  • *****
  • Posts: 261
  • Karma: +0/-0
Re: IIS Web Server
« Reply #7 on: March 05, 2014, 10:48:32 AM »
In Solution Explorer, right-click the name of the Web application project for which you want to specify a Web server, and then click Properties.

In the Properties window, click the Web tab.

To choose the Visual Studio Development Server, under Servers, click Use Visual Studio Development Server.

To use a specific port number with the Visual Studio Development Server, select Specific port and enter the port number. By default, the Auto-assign Port option is selected, and the port number that has been assigned to your application appears.

To choose IIS, under Servers, select Local IIS Web server. This option is not available if IIS is not enabled on your computer. A URL that combines localhost with the name of your Web application will automatically be created for you and appear in the Project URL box (for example, http://localhost/WebApplication1).

To choose IIS Express, under Servers, select Local IIS Web server, and then select Use IIS Express. A URL with a random port number is automatically created for you and appears in the Project URL box (for example, http://localhost:2616/). The IIS Express option is unavailable if you do not have IIS Express installed on your computer, or if you are using a version of Visual Studio earlier than 2010 SP1.

To choose a custom Web server, select Use Custom Web Server. In the Server URL box, type the URL that Visual Studio should start when it runs the current project.

santhoshidatasoft

  • Brown belt
  • ******
  • Posts: 668
  • Karma: +0/-0
Re: IIS Web Server
« Reply #8 on: March 28, 2014, 01:43:59 AM »
Listed below are the steps to deploy a web app in IIS.

Click start. Click Run.
Type inetmgr in the Run dialog Box.
Expand the localComputer. Right Click on the Sites. Click Add New Site
Type the name of the web site. In my case, it is "MyWebSite". Type the location of the web application or site. Give a port number (You have to manually add this port number to inbound rules of Windows Firewall later). And then press OK.

If a connection with that port number already exists, then give another port number.

Right click on the site name ("MyWebSite" in my case), click on "Manage Web Site" and "Browse".

In the sub directories of the web site, if any web.config files are present, remove the tags with names authorization, roleprovider, profile, members. As this may cause the error

Change the Framework of the application pool to v4.0

Change the "CodeBehind" in the aspx file to "CodeFile".

Change the URLs to the appropriate directory. (Since ~ means root directory, it has a different meaning when executed in Visual Studio when compared to IIS.)
All the above steps make the site work from the same computer in which IIS is installed. If you go to another computer and type the IP address of the system (in which IIS is installed), then you may not be able to access the website. For this, you have to configure the port in the Windows Firewall.
Open the Windows Firewall from control panel as "Control Panel\All Control Panel Items\Windows Firewall". Click "Advanced Settings".

Right click on InBound Rules as shown below. And fill the details as necessary.
That's it! You can access the web site (hosted with IIS) from within the LAN by just typing the IP address of the system on which IIS is installed as:

http://IPAddress:Portnumber e.g.:- http://192.168.1.1:90




prakash.datasoft

  • Green Belt
  • *****
  • Posts: 295
  • Karma: +0/-0
Re: IIS Web Server
« Reply #9 on: March 29, 2014, 01:18:35 AM »
hello sir

The Boot.ini file is set as read-only, system, and hidden to prevent unwanted editing.
To change the Boot.ini timeout and default settings, use the System option in Control Panel from the Advanced tab and select Startup.


thanks

shajahan

  • Green Belt
  • *****
  • Posts: 341
  • Karma: +0/-0
Re: IIS Web Server
« Reply #10 on: May 14, 2014, 12:11:38 PM »
The Boot.ini file is set as read-only, system, and hidden to prevent unwanted editing.
To change the Boot.ini timeout and default settings, use the System option in Control Panel from the Advanced tab and select Startup.

jaswin.datasoft

  • Green Belt
  • *****
  • Posts: 418
  • Karma: +1/-0
Re: IIS Web Server
« Reply #11 on: May 24, 2014, 10:26:48 AM »