Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Place two site on one server

Place two site on one server

Scheduled Pinned Locked Moved ASP.NET
sysadminhelpquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Imran Khan Pathan
    wrote on last edited by
    #1

    Hi friends, Good morning. I have a bit problem here.My client requirement is that he wants to place two different sites on one server. Second site should be in one folder with bin folder and web config file also. I know I have to make that folder as virtual directory but if I move bin folder in that folder then does site work or not? What I have to do for this?

    please don't forget to vote on the post that helped you.

    S 1 Reply Last reply
    0
    • I Imran Khan Pathan

      Hi friends, Good morning. I have a bit problem here.My client requirement is that he wants to place two different sites on one server. Second site should be in one folder with bin folder and web config file also. I know I have to make that folder as virtual directory but if I move bin folder in that folder then does site work or not? What I have to do for this?

      please don't forget to vote on the post that helped you.

      S Offline
      S Offline
      Sam Xavier
      wrote on last edited by
      #2

      If you have an IIS or any other webserver running, then you can place as many sites as you want to.. Try placing this second site as well (create a virtual directory also) and it will work like a Charm..

      Best Regards, Sam Xavier www.componentone.com

      I 2 Replies Last reply
      0
      • S Sam Xavier

        If you have an IIS or any other webserver running, then you can place as many sites as you want to.. Try placing this second site as well (create a virtual directory also) and it will work like a Charm..

        Best Regards, Sam Xavier www.componentone.com

        I Offline
        I Offline
        Imran Khan Pathan
        wrote on last edited by
        #3

        Thanks for your response. I have one site on root and second site in "second" folder.I have placed Bin,App_Data and web config file of second site in second folder.I have made it virtual directory also.Now when I access this,it gives me an error that "Server Application Unavailable".

        please don't forget to vote on the post that helped you.

        A 1 Reply Last reply
        0
        • S Sam Xavier

          If you have an IIS or any other webserver running, then you can place as many sites as you want to.. Try placing this second site as well (create a virtual directory also) and it will work like a Charm..

          Best Regards, Sam Xavier www.componentone.com

          I Offline
          I Offline
          Imran Khan Pathan
          wrote on last edited by
          #4

          I have another question. for single site,If I deploy site(with bin,app_data and web config file) in folder and I make it virtual directory then it will work? Nothing on root folder,All folders and files are in one folder. I have tried it but it gives enterprice library namespace error because bin folder also in folder.

          please don't forget to vote on the post that helped you.

          A 1 Reply Last reply
          0
          • I Imran Khan Pathan

            I have another question. for single site,If I deploy site(with bin,app_data and web config file) in folder and I make it virtual directory then it will work? Nothing on root folder,All folders and files are in one folder. I have tried it but it gives enterprice library namespace error because bin folder also in folder.

            please don't forget to vote on the post that helped you.

            A Offline
            A Offline
            Abhijit Jana
            wrote on last edited by
            #5

            In IIS you can put multiple Virtual Directory. Don't copy all folder sepatrately. Just Publish the WebSite from VS the use the folder as Virtual Directory.

            cheers, Abhijit

            1 Reply Last reply
            0
            • I Imran Khan Pathan

              Thanks for your response. I have one site on root and second site in "second" folder.I have placed Bin,App_Data and web config file of second site in second folder.I have made it virtual directory also.Now when I access this,it gives me an error that "Server Application Unavailable".

              please don't forget to vote on the post that helped you.

              A Offline
              A Offline
              Abhijit Jana
              wrote on last edited by
              #6

              Always use Publish Folder to Deploy in IIS .

              Imran Khan Pathan wrote:

              it gives me an error that "Server Application Unavailable".

              Just delete the Virtual Directory, Reset IIS and again Create the VDir Hope will resolve your problem.

              cheers, Abhijit

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups