-1

I have an A project developed using MVC, SQL and a B project developed using weboforms, SQL. I have single domain name to publish. So I planned to put single page with two links and from that page access two separate projects. How can I do this? Can I add a common page in project B and set that as start up project? It will work?

M--
  • 25,431
  • 8
  • 61
  • 93
KaviSuja
  • 450
  • 1
  • 9
  • 37

1 Answers1

1

You can create Virtual directory no need to put single page with two links and from that page access two separate projects.

Please refer how to create Virtual directory

Amol
  • 1,431
  • 2
  • 18
  • 32
  • I have created virtual directory under project A and the url like : www.A.com/B - but its not working. I am working on IIS 6.0 – KaviSuja Sep 30 '16 at 09:42
  • I have added the screenshot of error after creating virtual directory – KaviSuja Sep 30 '16 at 11:08
  • There are many reasons why you are getting Error 500 Please refer https://support.microsoft.com/en-in/kb/942031 After success it will look like www.domain.com/A And www.domain.com/B – Amol Sep 30 '16 at 11:14
  • I have physical path /inetpub/wwwroot/A and inside A folder I added B - publish files. In IIS created the site for A using domain.com and for B check with domain.com/B.. Is this the correct process? or need to change ? – KaviSuja Sep 30 '16 at 11:19
  • Step 1: inetpub/wwwroot/A and inetpub/wwwroot/B. Step 2: add site separately – Amol Sep 30 '16 at 11:23
  • Step 2: I have completed but i need to use same domain name for these seperate sites – KaviSuja Sep 30 '16 at 11:27