# Supporting iframe embeds from different domains?

**URL:** https://meta.discourse.org/t/supporting-iframe-embeds-from-different-domains/30930
**Category:** Feature
**Created:** [July 9, 2015, 3:30pm UTC](https://meta.discourse.org/t/supporting-iframe-embeds-from-different-domains/30930 "2015-07-09T15:30:50Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [January 4, 2016, 1:39am UTC](https://meta.discourse.org/t/supporting-iframe-embeds-from-different-domains/30930/15 "2016-01-04T01:39:23Z")

</div>

To find the file on Digital Ocean, ssh into your droplet and then run:

`$ cd /var/discourse`  
`$ ./launcher enter app`  
`$ cd var/www/discourse/plugins`

The problem with changing things that way is that your changes will be overwritten every time you update Discourse. The right way to do it is to update the plugin file that is in the repository on github and then run `launcher rebuild app` in your droplet.

You can do that by cloning my repository on github and making the changes you want in your cloned version. You then need to change the url that you have added to the `app.yml` file so that it pulls from your new repository. If this isn’t clear, just let me know 🙂

I can also just add the domain you want to whitelist to the plugin file that is in my repository.

---

_[View the full topic](https://meta.discourse.org/t/supporting-iframe-embeds-from-different-domains/30930)._
