Solved

Deploy Asp.net Website To Subfolder

Posted on 2011-09-08
2
459 Views
Last Modified: 2012-05-12
Hi,

My problem is that i have to deploy my asp.net application as a subfolder of my website.

For example, my main website is deployed at www.mainwebsite.com
and I want to deploy my asp.net application at www.mainwebsite.com/AspApp 

Is it possible that my AspApp could run independently on its own with nothing to do with my main web site.

Please note that I have no access to the web server and I could not assign www.mainwebsite.com/aspapp as virtual path.

Regards,


















Any guidance would be appreciated - thx
0
Comment
Question by:Sudees
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
asp_net2 earned 500 total points
ID: 36503305
>> Is it possible that my AspApp could run independently on its own with nothing to do with my main web site.
No, if you main site goes down then your other application will go down.

>> My problem is that i have to deploy my asp.net application as a subfolder of my website.
If I understand your question correctly then all you should need to do is "Add Virtual Directory" to your existing site in IIS to have another application run within your main site.

>> Please note that I have no access to the web server and I could not assign www.mainwebsite.com/aspapp as virtual path.
You will need access or at least talk to your Network Administrator to have him/her do that for you.
0
 
LVL 23

Expert Comment

by:Saqib Khan
ID: 36505056
You can try url rewriting using PROXY...this way you can host your Domain somewhere else and just point to it using url rewriting on your primary domain.


www.mainwebsite.com/AspApp  -- > www.mysite.com [P]

Where P means proxy (depends which url rewriter you are using.)





 
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question