Phi 9 Official Blog

Web Hosting Phenomenon

Archive for the ‘web deploy’ tag

How to configure and publish apps from Visual Studio with Web Deploy on Phi 9?

comments

Whether you just discovered the Web Deploy or if you an experienced developer wanting to publish your application directly to your website without fuss of manual uploads, you likely need to have access to your Web Publishing profile. It’s easier, if you want to deploy from WebMatrix – because all you need to do is to download the profile from your Phi 9 Windows control panel and import it in WebMatrix or Visual Studio Pro. However if you are using Visual Studio Express or Visual Web Developer, you’ll have to input the settings manually because Visual Studio doesn’t support importing of your publish profiles.

Just follow the following steps.

1. Login to your Phi 9 Windows control panel

2. Go to ‘Web > Websites’ under your default hosting space (your plan name).

3. Click on your desired website name.

4. Click on ‘Web Publishing’ tab

5. Choose, enter your username, password and click on ‘Enable’.

6. Click on ‘Download Publishing Profile’ link.

7. Open up the downloaded profile in any text editor or in Notepad.

8. Open up Visual Studio, the version you have. Go to Build > Publish. Choose Publish Method as Web Deploy.
Copy the value of ‘publishUrl’ from the file you just opened in text editor and paste ‘Service URL’ in Visual Studio.  Do the same for ‘msdeploySite’ and paste it into ‘Site/application’ field of Visual Studio publish settings.
Check ‘Allow untrustred certificate’ checkbox. Enter your username and password. And that’s it. You can now publish your app through Visual Studio.

 

Welcome to the world of ϕ.
Welcome to The Web Hosting Phenomenon ™

Written by Phi 9 World

June 14th, 2012 at 5:43 pm