Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
How can deploy our website on server

anyone can help me

thx
Posted

 
Share this answer
 
1. first of all you need IIS configured on the server machine.
2. If your site uses database then the database server shuold also be running there(perhaps sqlserver)

approach one:
Have a virtual directory configured on IIS
copy your website code in that directory.
configure the connection strings and all as per the server configuration.

Approach 2:
Create a web setup project using visual studio
use this setup to deploy on server

approach 3:
use publish web site from visual studio
specify the correct path of server to deploy to and configure the database

search google on each step's details to know how to do that step.
 
Share this answer
 
See this guide for deployment on IIS 7
Deploying ASP.NET Websites on IIS 7.0 [^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900