Publish ASP.NET website by FTP in Visual Studio 2015

I am beginner in ASP.NET and trying to publish my first website by using FTP(FileZilla) . I have web hosting and domain name but After following this method:

To publish your web application using FTP:

  • Open the project in Visual Studio 2013. Click Build > Publish. That will bring up the "Publish Web" dialog box.
  • Change the "Publish Method" to FTP. Server: Enter your FTP URL. Example:
    ftp.YourHostedDomain.com
  • In the Site Path field, enter the
    subdirectory you wish to publish the application to (for example: /Subdirectory).
  • If you want to publish to the root directory. Leave the Site path empty.
  • In username field, enter the FTP user name found in Control Panel.
  • In the password field, enter the FTP password.
  • Click "Next" to determine the web.configuration you will publish.
  • Click "Publish."
  • I am able to publish it in my ftp.YourHostedDomain.com but it is not working well, when I visit my Destination Url it is showing me that site, from where I have purchase this domain and hosting instead of my website which I have published. I spend lots of time for it, Please suggest me what should I do?


    Generally, MVC web applications will publish or update their database on first run. Have you tried copying your project to the correct folder on the hosting site and pulling up the home page?

    链接地址: http://www.djcxy.com/p/81674.html

    上一篇: 如何在没有TFS的Visual Studio 2010 Ultimate中创建新的解决方案

    下一篇: 在Visual Studio 2015中通​​过FTP发布ASP.NET网站