# Parent domains I can use to embed Twitch?

**URL:** <https://staging-discuss.dev.twitch.com/t/parent-domains-i-can-use-to-embed-twitch/42798>\
**Category:** API\
**Created:** [January 12, 2023, 9:32am UTC](https://staging-discuss.dev.twitch.com/t/parent-domains-i-can-use-to-embed-twitch/42798 "2023-01-12T09:32:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keys6Meowse](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/keys6meowse/32/21912_2.png) [@Keys6Meowse](https://staging-discuss.dev.twitch.com/u/Keys6Meowse)\
**Post date:** [January 12, 2023, 9:32am UTC](https://staging-discuss.dev.twitch.com/t/parent-domains-i-can-use-to-embed-twitch/42798/1 "2023-01-12T09:32:29Z")

</div>

Hello! I’ve gotta submit a school project in a few weeks, which involves me making a portfolio website in the form of an html file. On it I plan to embed a Twitch window, but I need a parent domain to host it. Does anyone know of a domain I could use? Thanks!

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [January 12, 2023, 12:50pm UTC](https://staging-discuss.dev.twitch.com/t/parent-domains-i-can-use-to-embed-twitch/42798/2 "2023-01-12T12:50:17Z")

</div>

For embeds’ the parent is the domain of the URL that your website is hosted on.

So this needs to be a “real” domain not a `file://` url

if you can’t host it on a URL than you will have to note that the embed fails due to it being on a `file://`

---

<div class="post-metadata">

**Author:** ![Keys6Meowse](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/keys6meowse/32/21912_2.png) [@Keys6Meowse](https://staging-discuss.dev.twitch.com/u/Keys6Meowse)\
**Post date:** [January 12, 2023, 2:00pm UTC](https://staging-discuss.dev.twitch.com/t/parent-domains-i-can-use-to-embed-twitch/42798/3 "2023-01-12T14:00:41Z")

</div>

So I actually have to host my html website somewhere then? Alright, I’ll see what services I can get for cheap! Thanks!

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [January 12, 2023, 2:01pm UTC](https://staging-discuss.dev.twitch.com/t/parent-domains-i-can-use-to-embed-twitch/42798/4 "2023-01-12T14:01:36Z")

</div>

Correct

Embeds only work correctly on `https` and `localhost`

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [February 11, 2023, 2:02pm UTC](https://staging-discuss.dev.twitch.com/t/parent-domains-i-can-use-to-embed-twitch/42798/5 "2023-02-11T14:02:00Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
