[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 486
  • Last Modified:

Deploy Asp.net Website To Subfolder

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
Sudees
Asked:
Sudees
1 Solution
 
asp_net2Commented:
>> 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
 
Saqib KhanSenior DeveloperCommented:
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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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