100% Australian Windows Web Hosting
  • Knowledge Base

Visual Studio 2013 - How to publish your website from Visual Studio 

Was this helpful? (2) (0)

To publish a Visual Studio 2013 ASP.NET Project  we will be using the FTP publish method from within Visual Studio (Web Deploy is not supported).

Before you begin

You will need to firstly have your FTP Account connection details. To find this, log into your account via hostControl:
https://secure.hostcontrol.com.au (If you are unsure of your login details, select the 'Forgotten Password' button).

Once in hostControl, browse to the "FTP Accounts" section, find the FTP Account which has the domain you wish to publish to and make a note of the connection details.

 Step 1

In Visual Studio either right click your solution and select "Publish Web Site". or go to the "Build" menu in Visual Studio and select "Publish Web Site".



 Step 2

In the window that appears, select the "Custom" publish target option. Then in the 'New Custom Profile' popup, give your Profile a Name (this is to help you identify it only).


 Step 3

Then fill in the fields as per below. Once your settings have been filled in, you can select the "Validate Connection" button to confirm your settings are correct. If they are correct, you will get a green tick.

Publish Method: In this dropdown menu, select the "FTP" option.
Server: This will be your FTP Account's Server name. Ensure you have checked the "FTP Accounts" section of hostControl to confirm this setting.
Site path: This will be your domain name followed by /home/. For example: example.com/home/
User name: Your FTP Account Username.
Password: Your FTP Account Password.
Destination URL: Your full domain's URL.

 Step 3

Once you have filled in your settings, you can either select 'Next' to configure additional settings (such as 'Delete all existing files prior to publish' or precompiling etc). Or go straight to publishing, by selecting the "Publish" button.

 Step 4

After that you should see your website being published, with some information showing in the "Output" section of Visual Studio. Once finished publishing, you can visit the Domain Name or Test Address in your browser.


Last Updated:  20/10/2015 4:27 PM


Copyright © 2002 - 2021 StudioCoast Pty Ltd   |   ABN: 53 143 039 070