Home » Categories » Getting Started » Setting up Website

How to Publish Your Web Application

This article give brief tutorial about how to publish your web application using FTP:

1. Open your project via Visual Studio tool

2. On the Solution Explorer window, right click your project and select "Publish Website"

3. Please publish your website to your local folder, such as C:\Project

4. You will see all the files and subfolders on C:\Project, however, you will not see any code-behind files

5. Please upload whatever you see on C:\Project to the server via FTP

Please note that if your website does not even work on your local PC, it will never ever work on the server. This is why it is important to ensure that your site works on your local PC first

Also, please kindly add a customError tag on your web.config so that you can view the error message directly (if in case there is an error). This can be something like:

<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />

Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Is there any downtime when switching my website to your server?
Viewed 2426 times since Mon, Apr 30, 2012
How can I publish my website to your server?
Viewed 6127 times since Mon, Apr 30, 2012
Where should I put my own website files?
Viewed 2697 times since Fri, Apr 27, 2012
I would like to create a new website, what should I do?
Viewed 3275 times since Mon, Apr 30, 2012
What is my original default page?
Viewed 8366 times since Mon, Apr 30, 2012
How can I deploy my website with WebDeploy tool?
Viewed 4735 times since Mon, Apr 30, 2012