0

I made an other application inside my website on IIS. But I cannot get it to deploy to this application, instead it always deploys to the root of my website.

Website structure File structure

It has to publish to the api folder (yellow), but instead it publish to the root of the website (selected). How can I configure my website to pubish to the correct folder?

1 Answer 1

1

I'll assume you are using Visual Studio and you are using Publish Profiles.

And I suspect your Publish Profile could be set like this:

  • Site Name: Prd-A1086-AMDM
  • Destination URL: http://{your-domain}/api

Instead, you should have it like this:

  • Site Name: Prd-A1086-AMDM/api (Note the subsite /api)
  • Destination URL: http://{your-domain}/api
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.