Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nadine Fisch 159 posts 429 karma points
    Sep 29, 2017 @ 11:51
    Nadine Fisch
    0

    Umbraco - Server specific config

    Hey guys, I have a simple question and it is more related to server issues, but maybe you can help me. I have a Umbraco development server and a production server and I need to add a server specific config file:

    Web_dev.config
    Web_live.config
    

    But I have no idea, how to force the server to pick the correct file. Can you please help me?

    Thank you.

  • Alex Skrypnyk 6133 posts 23952 karma points MVP 7x admin c-trib
    Sep 29, 2017 @ 11:52
    Alex Skrypnyk
    0

    Hi Nadine,

    You have to use the only web.config file on the server, but in development on your local machine, you can use config transforms and few files in your visual studio. You can't force IIS to use another web.config file.

    Thanks,

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft