By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,913 Members | 1,379 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,913 IT Pros & Developers. It's quick & easy.

How host database based website?

P: 54
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?
Jul 1 '12 #1
Share this Question
Share on Google+
5 Replies


Frinavale
Expert Mod 5K+
P: 9,731
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
Jul 9 '12 #2

P: 54
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 ...?
Jul 10 '12 #3

ariful alam
100+
P: 185
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. :)
Jul 10 '12 #4

Frinavale
Expert Mod 5K+
P: 9,731
I don't think the @karimkhan is using MS SQL Server.
@karimkhan are you using an embedded database?

-Frinny
Jul 10 '12 #5

bestcoupon
P: 2
- 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 !
Sep 15 '13 #6

Post your reply

Sign in to post your reply or Sign up for a free account.