How host database based website?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • karimkhan
    New Member
    • Jan 2011
    • 54

    How host database based website?

    I have created one website in asp.net using visual studio 2010, I want to host it on internet so how can i do it?

    On local server when we run it we dont need to do any thing just we have to run whole project.

    I dont have experience of hosting such database based site on internet. Is it same as uploading all the file simply as we do in static website or anything different?
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    You will have to publish your web application using the publish tool that comes with visual studio.

    The publishing tool will create the files necessary to run your website on a web server.

    You then need to find a web hosting company that has a Windows server, with the same version of the .NET Framework that your web application was developed for.

    Your web host should also provide you with the database that you used to develop your application against.

    Once you have found your web host, you will have to move the files generated by the publishing tool to the server, configure your website to work on your web host, and run the necessary scripts that will generate your database and populate it with data.

    -Frinny

    Comment

    • karimkhan
      New Member
      • Jan 2011
      • 54

      #3
      database part just i have to upload on server or anything else i need to do???
      in which format database file needs to be uploaded ...?

      Comment

      • ariful alam
        New Member
        • Jan 2011
        • 185

        #4
        Suppose, you are using MS SQL Server 2008 for your database. If your hosting server provider has this server then they will give a online interface of MS SQL Server 2008 to setup your database there. you should create a user there for you to connect to your database. because there you can't access the administrative accounts to connect to your database to run your website. you can generate your database script from your local database server and copy->paste the script texts in online TSQL interface and run to create database there.

        hope it helps you. :)

        Comment

        • Frinavale
          Recognized Expert Expert
          • Oct 2006
          • 9749

          #5
          I don't think the @karimkhan is using MS SQL Server.
          @karimkhan are you using an embedded database?

          -Frinny

          Comment

          • bestcoupon
            New Member
            • Sep 2013
            • 2

            #6
            - Create DB on Server with your data on local (export script or restore)
            - Change Connection String connect to server
            - Publish your code on server (IIS) and try to run your website :)

            Finish !

            Comment

            Working...