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 9049259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T12:21:11+00:00 2026-06-16T12:21:11+00:00

I have deployed an ASP.NET WebForms site to Amazon AWS to the following link

  • 0

I have deployed an ASP.NET WebForms site to Amazon AWS to the following link (‘webapp’ is just a dummy name I haven’t included the real url)

http://webapp.elasticbeanstalk.com

My problem is that wherever I do a redirect using Response.Redirect (for example Response.Redirect(‘~/Page.aspx’) or create a link using Page.ResolveUrl (for example Page.ResolveUrl(‘~/Page.aspx’), the url becomes

http://webapp.elasticbeanstalk.com/webapp_deploy/Page.aspx

But I want it to be simply:

http://webapp.elasticbeanstalk.com/Page.aspx

My guess is that the site is located in a folder called ‘webapp_deploy’ on the Amazon server and the home sign ‘~’ gets mapped to ‘webapp_deploy’.

Is this a known issue or am I doing something wrong ? Are there any workarounds to this…do I need to change something in the AWS console ?

Thanks

  • 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-16T12:21:13+00:00Added an answer on June 16, 2026 at 12:21 pm

    By default, your web application will be deployed to webappname_deploy, but you can change that in the Project Properties.

    • In the Solution Explorer, right-click on the web project and select “Properties”.
    • In the properties pane, go to the “Package/Publish Web” tab.
    • On that tab, there is a form field labeled “IIS Web site/application name to use on the destination server:”
    • Remove webappname_deploy, so it would just say “Default Web Site/”

    Your web app will then be deployed to the root of the IIS Default Web Site.

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

Sidebar

Related Questions

I have the following code, deployed on a https Asp site, build with MVC
We have deployed a .net 4 asp.net site on IIS 6.0. Default.aspx is configured
I've just deployed an ASP.NET web site to my hosting provider, but I keep
I have just deployed my asp.net mvc-2 website to a server (using dotnetpanel). But
I have an ASP.NET 4.0 WebForms site that is running on a IIS6/Server 2003
i have deployed an asp.net mvc site a few days ago and everything is
I have deployed an ASP.NET MVC application following the article How to: Deploy an
I have a Windows 2008 r2 server. I just deployed my ASP.Net application to
I have asp.net mvc 3 site deployed on shared hosting. My problem is that
I have just deployed my ASP.NET/C# code to a sharepoint server and am getting

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.