0

I have developed the ASP.NET application in MVC using Visual studio 2010 express edition. I have domain on Godaddy. how to deploy the MVC application on godaddy ? What steps i need to follow?

Siyual
  • 16,415
  • 8
  • 44
  • 58
Red Swan
  • 15,157
  • 43
  • 156
  • 238

3 Answers3

1

1) Publish you site on you local test machine.

2) Login to Control Panel of Go-Deddy.

3) From content select File file manager and upload you content.

4) Give proper connection string.

That's it...........

Above is high level steps.. You can check for better explanations.

Jigar Pandya
  • 6,004
  • 2
  • 27
  • 45
1

It's important to note that if your app is using MVC, you will need to bin deploy it for it to work on GoDaddy. You will need to manually copy any MVC related DLLs that your project is using to your production bin directory.

Alternatively, you can set "Copy Local" equal to "true" in the Properties window for any of your MVC related project references as described in this blog post. Then when you do a Publish of your application, all of the needed assemblies will be included automatically.

Be sure to deploy the correct versions of the DLLs you need.

Community
  • 1
  • 1
Mac
  • 1,201
  • 2
  • 15
  • 28
1

sure, you can deploy your MVC 4 application. Godaddy supports MVC 4. What I have done to deploy my MVC 4 application is:

1. I included DLLs such as:

  • System.Web.Mvc
  • System.Web.Routing
  • System.Web.Abstractions

2. I edited web.config file. I put next strings:

<system.web>
   <trust level="Medium"/>
   .....  
</system.web>

3. Then I used the File System publish method and then I used FileZilla to transfer the files to the GoDaddy. I copied all files to httpdocs directory. You must copy just to httpdocs directory.

That's all. Good luck.

StepUp
  • 36,391
  • 15
  • 88
  • 148