# I want to deploy a new Internet Computer (IC) dApp on an existing canister that I previously used to deploy another application. I am the controller of this canister

**URL:** <https://forum.dfinity.org/t/i-want-to-deploy-a-new-internet-computer-ic-dapp-on-an-existing-canister-that-i-previously-used-to-deploy-another-application-i-am-the-controller-of-this-canister/38102>\
**Category:** Rust\
**Created:** [December 2, 2024, 1:30pm UTC](https://forum.dfinity.org/t/i-want-to-deploy-a-new-internet-computer-ic-dapp-on-an-existing-canister-that-i-previously-used-to-deploy-another-application-i-am-the-controller-of-this-canister/38102 "2024-12-02T13:30:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Veercodeprog](https://avatars.discourse-cdn.com/v4/letter/v/c57346/32.png) [@Veercodeprog](https://forum.dfinity.org/u/Veercodeprog)\
**Post date:** [December 2, 2024, 1:30pm UTC](https://forum.dfinity.org/t/i-want-to-deploy-a-new-internet-computer-ic-dapp-on-an-existing-canister-that-i-previously-used-to-deploy-another-application-i-am-the-controller-of-this-canister/38102/1 "2024-12-02T13:30:25Z")

</div>

I want to deploy a new Internet Computer (IC) dApp on an existing canister that I previously used to deploy another application. I am the controller of this canister.

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [December 2, 2024, 1:56pm UTC](https://forum.dfinity.org/t/i-want-to-deploy-a-new-internet-computer-ic-dapp-on-an-existing-canister-that-i-previously-used-to-deploy-another-application-i-am-the-controller-of-this-canister/38102/2 "2024-12-02T13:56:01Z")

</div>

`dfx canister --ic install <canister id> --wasm <path/to/app.wasm> --mode reinstall` will install new code. You can also set the canister id in `canister_ids.json`. Then `dfx deploy` will automatically go to that canister. In that case I would suggest that you first `dfx canister uninstall`.

---

<div class="post-metadata">

**Author:** ![Veercodeprog](https://avatars.discourse-cdn.com/v4/letter/v/c57346/32.png) [@Veercodeprog](https://forum.dfinity.org/u/Veercodeprog)\
**Post date:** [December 2, 2024, 4:11pm UTC](https://forum.dfinity.org/t/i-want-to-deploy-a-new-internet-computer-ic-dapp-on-an-existing-canister-that-i-previously-used-to-deploy-another-application-i-am-the-controller-of-this-canister/38102/3 "2024-12-02T16:11:30Z")

</div>

will the old app deployed stop working?

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [December 3, 2024, 8:49am UTC](https://forum.dfinity.org/t/i-want-to-deploy-a-new-internet-computer-ic-dapp-on-an-existing-canister-that-i-previously-used-to-deploy-another-application-i-am-the-controller-of-this-canister/38102/4 "2024-12-03T08:49:27Z")

</div>

Yes, if you replace the old app then it will disappear

---

<div class="post-metadata">

**Author:** ![Veercodeprog](https://avatars.discourse-cdn.com/v4/letter/v/c57346/32.png) [@Veercodeprog](https://forum.dfinity.org/u/Veercodeprog)\
**Post date:** [December 3, 2024, 8:57am UTC](https://forum.dfinity.org/t/i-want-to-deploy-a-new-internet-computer-ic-dapp-on-an-existing-canister-that-i-previously-used-to-deploy-another-application-i-am-the-controller-of-this-canister/38102/5 "2024-12-03T08:57:34Z")

</div>

could you check this 🌟

> [@I have implmented the file storing logic in backend for uploading files on canister, i am able to upload the files but not getting the correct link for the uploaded file](https://forum.dfinity.org/t/i-have-implmented-the-file-storing-logic-in-backend-for-uploading-files-on-canister-i-am-able-to-upload-the-files-but-not-getting-the-correct-link-for-the-uploaded-file/38134):
>
> we can just directly upload files without needing to enter any other fields: [https://esygv-biaaa-aaaak-ak2va-cai.icp0.io/](https://esygv-biaaa-aaaak-ak2va-cai.icp0.io/) in conosle can check the uploaded file link , but its not showing the file can check files uploaded in list\_assets backend:[DFINITY Canister Candid UI](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=unuoe-3aaaa-aaaai-q3nda-cai) code frontend:[upload-images-to-icp-asset/src/outbound/upload\_files.rs at main · Veercodeprog/upload-images-to-icp-asset · GitHub](https://github.com/Veercodeprog/upload-images-to-icp-asset/blob/main/src/outbound/upload_files.rs) backend: [GitHub - Veercodeprog/upload-images-to-icp-asset-backend-](https://github.com/Veercodeprog/upload-images-to-icp-asset-backend-)
