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. publish web site

publish web site

Scheduled Pinned Locked Moved ASP.NET
question
5 Posts 4 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.
  • H Offline
    H Offline
    hahii
    wrote on last edited by
    #1

    Hi, I created a Virtual directory for my web site. Now I want to publish it at http;//localhost/test2. How can I do that.

    A 1 Reply Last reply
    0
    • H hahii

      Hi, I created a Virtual directory for my web site. Now I want to publish it at http;//localhost/test2. How can I do that.

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      [http://localhost belongs to default port 80, so just install IIS and right click on the Default WebSite of the IIS console and make one virtual directory named test2. Now publish your website to the folder you choose. You also need to configure your website a bit. http://www.codeproject.com/KB/aspnet/VSDeploy.aspx](http://localhost belongs to default port 80, so just install IIS and right click on the Default WebSite of the IIS console and make one virtual directory named test2.

      Now publish your website to the folder you choose.

      You also need to configure your website a bit.

      http://www.codeproject.com/KB/aspnet/VSDeploy.aspx)[[^](http://localhost belongs to default port 80, so just install IIS and right click on the Default WebSite of the IIS console and make one virtual directory named test2.

      Now publish your website to the folder you choose.

      You also need to configure your website a bit.

      http://www.codeproject.com/KB/aspnet/VSDeploy.aspx "New Window")] might help you... :thumbsup:

      Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
      Create .NET Templates

      H 1 Reply Last reply
      0
      • A Abhishek Sur

        [http://localhost belongs to default port 80, so just install IIS and right click on the Default WebSite of the IIS console and make one virtual directory named test2. Now publish your website to the folder you choose. You also need to configure your website a bit. http://www.codeproject.com/KB/aspnet/VSDeploy.aspx](http://localhost belongs to default port 80, so just install IIS and right click on the Default WebSite of the IIS console and make one virtual directory named test2.

        Now publish your website to the folder you choose.

        You also need to configure your website a bit.

        http://www.codeproject.com/KB/aspnet/VSDeploy.aspx)[[^](http://localhost belongs to default port 80, so just install IIS and right click on the Default WebSite of the IIS console and make one virtual directory named test2.

        Now publish your website to the folder you choose.

        You also need to configure your website a bit.

        http://www.codeproject.com/KB/aspnet/VSDeploy.aspx "New Window")] might help you... :thumbsup:

        Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
        Create .NET Templates

        H Offline
        H Offline
        hahii
        wrote on last edited by
        #3

        Yes, I created the virtual folder. e.g my website is in the folder C:\project\NyWebSite Now I treated virtual folder in C:\Project and named it as test2. But when I go to window explorer C:\project my test2 is not there. So,. How can I publish it. I have no idea where I am doing wrong

        N A 2 Replies Last reply
        0
        • H hahii

          Yes, I created the virtual folder. e.g my website is in the folder C:\project\NyWebSite Now I treated virtual folder in C:\Project and named it as test2. But when I go to window explorer C:\project my test2 is not there. So,. How can I publish it. I have no idea where I am doing wrong

          N Offline
          N Offline
          N a v a n e e t h
          wrote on last edited by
          #4

          hahii wrote:

          I have no idea where I am doing wrong

          It should be "I have no idea what I am doing".

          hahii wrote:

          Now I treated virtual folder in C:\Project and named it as test2. But when I go to window explorer C:\project my test2 is not there

          test2 is virtual directory name. It will not exist physically. It is referring to location C:\project and that will be the root of your website. Copy/publish all your files to this location. If you are using ASP.NET 2.0 or above, just copying all files to this virtual directory will work. VS provides several publish options which can also be used. Refer to MSDN for using the publish feature. :)

          Navaneeth How to use google | Ask smart questions

          1 Reply Last reply
          0
          • H hahii

            Yes, I created the virtual folder. e.g my website is in the folder C:\project\NyWebSite Now I treated virtual folder in C:\Project and named it as test2. But when I go to window explorer C:\project my test2 is not there. So,. How can I publish it. I have no idea where I am doing wrong

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

            hahii wrote:

            Yes, I created the virtual folder. e.g my website is in the folder C:\project\NyWebSite Now I treated virtual folder in C:\Project and named it as test2. But when I go to window explorer C:\project my test2 is not there. So,. How can I publish it. I have no idea where I am doing wrong

            I don't understand what are your doing? If you have published your Web sites from VS, then Open IIS and Create the Virtual Directory and Give the Path Reference of your Published Folder, that all. Now you can access from you web site from Localhost or IP address. For more details, Please look into this article, Deploying Web Sites in IIS

            cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net

            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