Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8312991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:20:46+00:00 2026-06-08T20:20:46+00:00

I have an ASP.NET MVC site that is hosted on an Amazon EC2 service.

  • 0

I have an ASP.NET MVC site that is hosted on an Amazon EC2 service. I want to establish auto deploy with MS WebDeploy to this site. I’ve found a great article about this: Automating Deployment with Microsoft Web Deploy.

I can’t reach https://mySite:8172/MsDeploy.axd because port 8172 is closed on Amazon by default. I am not very familiar with EC2 service configuration so I can’t find out how to open this port over https protocol. I’ve reconfigured IIS to use default port (433) and I was open this port on the Amazon security group that is used for my site.

Now I’ve tried to open https://mySite/MsDeploy.axd in a web browser. IE requests credentials, makes note of a certificate error (I clicked “Continue..”) and forwards me to 404.

Just to be sure, I tried to deploy via VS 2010, and of course it doesn’t work.

Can anybody who has experience using MS Web Deploy in Amazon EC2 tell me what I’m doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T20:20:48+00:00Added an answer on June 8, 2026 at 8:20 pm

    Two things.
    First: in order to open port 8172, you need to
    a)Open it in the security group of your EC2 instance, on the AWS Control Panel/EC2/Security Groups:
    In the Create a new rule dropdown, select Custom TCP rule. This way you will be able to specify which port you are opening. Then, choose port 8172 and enter the client IP address in the Source field.
    b)Open Windows Firewall.

    Second: The certificate error happens because most likely there is no certificate on your instance, or because its Common Name does not match the instance FQDN. The 404 is a symptom that the deployment is not available on IIS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a asp.net mvc site that being hosted via IIS 7. I believe
I have an ASP.NET MVC site, that uses a CommandService. This command service is
I have an ASP.NET MVC site that contains a WCF SVC that is hosted
I have an ASP:NET MVC 2 web site that is on SSL. I want
I have a asp.net mvc site that references a couple of libraries. Recently I
I have an ASP.NET MVC 3 site that makes use of a ClientDependency framework
I have an ASP.NET MVC site and ELMAH is showing me that my site
i have a hosted web site and i have an asp.net mvc site. The
I have asp.net mvc intranet site that is deployed to IIS6. Site is used
I have a ASP.NET MVC site that uses forms authentication with custom AuthorizeAttribute on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.