Click here to Skip to main content
15,911,360 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I have a domain in which an webapplication in .net already runing. But now i wants to upload another application to the subdomain created on that domain but i am confused how to upload , where to upload and other setting required to upload for subdomains.

When i upload directly to subdomain then both the main and sub domain application not worked and run time exception is shown.

Please help me out from this situation by providing the procedure to upload website to subdomain.]


Thanks & Regards,
Balwant Singh
Posted

1 solution

Sub domain contains credentials just similar to main domain.
Upload Files by connecting to subdomain with the username and password.
For eg:If abc.a1.com is your subdomain, then your host would be abc.a1.com, username: username, password: password
The above works only if your subdomain has a separate httpdocs. In some cases your subdomain would be just another folder in the main domain. In such cases, there has to be changes in your Main domain's web.config to handle the situation. It is always easy to handle cases where there is a seperate virtual directory, instead of a directory inside your main virtual directory.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900