# Clone and modify react app to new deploy

**URL:** <https://answers.netlify.com/t/clone-and-modify-react-app-to-new-deploy/32040>\
**Category:** Opentalk\
**Tags:** building, deployment\
**Created:** [February 7, 2021, 5:49pm UTC](https://answers.netlify.com/t/clone-and-modify-react-app-to-new-deploy/32040 "2021-02-07T17:49:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![1111](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/1111/32/23695_2.png) [@1111](https://answers.netlify.com/u/1111)\
**Post date:** [February 7, 2021, 5:49pm UTC](https://answers.netlify.com/t/clone-and-modify-react-app-to-new-deploy/32040/1 "2021-02-07T17:49:25Z")

</div>

Hello all  
I have a simple react spa build with say a couple of elements - image and title. It’s deployed as domain1.netlify.app  
What I’d like to do is clone the build, substitute a new image and title and redeploy as domain2.netlify.app  
The images are hosted on an image cdn. I’d like to stay within the netlify environment and no backend server involvement.  
Would appreciate any input or ideas.

---

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [February 7, 2021, 6:45pm UTC](https://answers.netlify.com/t/clone-and-modify-react-app-to-new-deploy/32040/2 "2021-02-07T18:45:25Z")

</div>

I don’t quite understand your question. If you have the source code, why not just modify it, push it to a different repo (or branch) and publish it as a different website?

---

<div class="post-metadata">

**Author:** ![1111](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/1111/32/23695_2.png) [@1111](https://answers.netlify.com/u/1111)\
**Post date:** [February 7, 2021, 9:28pm UTC](https://answers.netlify.com/t/clone-and-modify-react-app-to-new-deploy/32040/3 "2021-02-07T21:28:24Z")

</div>

I should have been clearer. I want to be able to upload/drag’n drop a new image to the page and edit the title and then deploy as a new subdomain on ‘click’  
Like ‘save as’ in some simple way

I’d like to know if this is possible within the Netlify realm, and if so, how in outline could this be achieved?

I see what you mean. Push the changes back to a git and republish.

---

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [February 8, 2021, 4:39am UTC](https://answers.netlify.com/t/clone-and-modify-react-app-to-new-deploy/32040/4 "2021-02-08T04:39:46Z")

</div>

No you can’t edit individual files if that’s what you mean. You’d have to change the images and title in your folder and drag and drop it as a separate website.

---

<div class="post-metadata">

**Author:** ![1111](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/1111/32/23695_2.png) [@1111](https://answers.netlify.com/u/1111)\
**Post date:** [February 8, 2021, 10:05am UTC](https://answers.netlify.com/t/clone-and-modify-react-app-to-new-deploy/32040/5 "2021-02-08T10:05:07Z")

</div>

Ok. Just for the sake of argument there’s no change required to the folder. Is there a dynamic way of saving subdom1.netlify.app as subdom2.netlify.app ?

---

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [February 8, 2021, 10:06am UTC](https://answers.netlify.com/t/clone-and-modify-react-app-to-new-deploy/32040/6 "2021-02-08T10:06:00Z")

</div>

You can use API to deploy the same code to multiple websites, but the content will remain the same.

---

<div class="post-metadata">

**Author:** ![1111](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/1111/32/23695_2.png) [@1111](https://answers.netlify.com/u/1111)\
**Post date:** [February 8, 2021, 10:16am UTC](https://answers.netlify.com/t/clone-and-modify-react-app-to-new-deploy/32040/7 "2021-02-08T10:16:23Z")

</div>

Thank you hrishikesh for your patience. I was looking at txti.es  
Sure its simple, and runs on php etc but in essence a user can edit his page name1.txti.es by bringing up name1.txti.es/edit and then dynamically change some text or image link and resave the page as name2.txti.es  
I was wondering if there was a way to do this within a react-netlify environment

---

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [February 8, 2021, 10:22am UTC](https://answers.netlify.com/t/clone-and-modify-react-app-to-new-deploy/32040/8 "2021-02-08T10:22:25Z")

</div>

I’d say yes, it’s possible though I don’t know how exactly. I have seen some posts on the forums where people have managed to use Jamstack to create website building websites (or something similar). If such a thing is possible, this seems possible too.

However, one thing to note: Though Netliy mentions unlimited websites, there’s a limit of 350 or something to prevent spam. The limit might be raised later by support team but, I thought you should know if you’re planning to go down that route.

---

<div class="post-metadata">

**Author:** ![1111](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/1111/32/23695_2.png) [@1111](https://answers.netlify.com/u/1111)\
**Post date:** [February 8, 2021, 10:27am UTC](https://answers.netlify.com/t/clone-and-modify-react-app-to-new-deploy/32040/9 "2021-02-08T10:27:18Z")

</div>

No - spamming is definitely not my intention! I was more interested in dynamic change and redeploy. But thanks for your comments. It seems from what you say there may be a route through. I will have to keep digging. Regards
