locked
Adding Existing Website into a Website RRS feed

  • Question

  • User-201960180 posted

     Hi All,

     I have two websites and i want to integrate both the websites. My motive is to host only one website. How do i go about this? 

    Thanks & Regards,

    Aroop

    Wednesday, March 31, 2010 3:25 AM

Answers

  • User-925286913 posted

    Add New Folder in existing website.
    Copy content of new website in that folder.
    Go to IIS and set it as Virtual Directory (or add Virtual Directory and give path of folder).

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, April 1, 2010 1:31 AM
  • User-925286913 posted

    You need to configure Virtual directory as Application and give proper Alias to that application.

    Refer:

    http://forums.asp.net/t/769696.aspx

    http://forums.asp.net/t/1031775.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, April 1, 2010 6:47 AM

All replies

  • User-925286913 posted

    You can add folder to the exising website and add new website in that folder. Or you can use subdomain to host new site.

    Does this make sense?

    Wednesday, March 31, 2010 5:38 AM
  • User-201960180 posted

    I have tried adding new website....i have tried adding folder..but doesn't work. Can you explain the procedure which actually works ???

     

    Thanks,

    Aroop

    Thursday, April 1, 2010 12:42 AM
  • User-925286913 posted

    Add New Folder in existing website.
    Copy content of new website in that folder.
    Go to IIS and set it as Virtual Directory (or add Virtual Directory and give path of folder).

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, April 1, 2010 1:31 AM
  • User-201960180 posted

    I have tried....when i run the application i get the error:

    Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. D:\VS2005Application\Dynamind\Web\Web.config 9 

     

    I would like to create Virtual Directory...i just want to run and debug...

    Thanks,

    Aroop 

    Thursday, April 1, 2010 2:24 AM
  • User-201960180 posted

    Sorry!!! I would NOT like to create Virtual Directory...i just want to run and debug... 

    Thursday, April 1, 2010 2:29 AM
  • User-925286913 posted

    You need to configure Virtual directory as Application and give proper Alias to that application.

    Refer:

    http://forums.asp.net/t/769696.aspx

    http://forums.asp.net/t/1031775.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, April 1, 2010 6:47 AM