C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing | Talk to Us |



My Profile

Gifts

Active Members
TodayLast 7 Days more...









can we run two projects on single iis?


Posted Date: 05 Jul 2008      Total Responses: 4

Posted By: Deepa       Member Level: Diamond     Points: 1


Hi Folks,

Can we run two project on single iis with same ip address?


Thanx & Regards,
Deepa.G




Responses

Author: Sujit Kumar    05 Jul 2008Member Level: GoldRating:     Points: 3
yes you can rum more than one project on single IIS server with same IP Address but make sure that your project name should be different.

like

http://localhost/project1/login.aspx
http://localhost/project2/login.aspx



Author: Aravind    05 Jul 2008Member Level: SilverRating:     Points: 6
Yes it is possible.
You can run "n" number of applications in iis. All you need to do is to configure your IIS.

step-1:
type "inetmgr" in RUN

step-2:
navigate to default website folder under the root.

step-3:
right-click, choose "Add"->"virtual directory"

step-4:
it will ask you an alias name. Type the alias name for your project, say "helloworld", "shopperstop", "travelClick"

step-5:
it will prompt you to choose your site folder. Locate to your site folder and click ok.

step-6:
once selected, now you can see a folder with name as alias name provided. navigate to it and you can see all your files of your website. Right click that alias name folder and click browse, or select your default page or home page and right-click-> Browse. you have to see the page running.

Otherwise, there is some error or problem.

step-7:
Now, you can navigate to your site by typing your URL in browser like,
"http://localhost/aliasname/"

it will navigate to your default.aspx, index.aspx like related pages.



Author: Siddesh Kapadi    05 Jul 2008Member Level: SilverRating:     Points: 2
Yes you can add as many sites on iis with same IP address. But the name of the project/Web Application should be different.


Author: M. Irfan    06 Jul 2008Member Level: GoldRating:     Points: 4
All the above solutions will not work in the case of when you are creating a website.

So for running on one IIS multiple sites either you need to provide different port number while setting from website -
or use different host header name for each site. Otherwise only one site can be start on IIS with single IP.

-----------------------------------
Thanks
M Irfan


Post Reply
You must Sign In to post a response.
Next : plz help me
Previous : Controls are in Disabled mode in toolbax
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

teleconferencing

Contact Us    Privacy Policy    Terms Of Use