# React App masked in Hubspot

**URL:** <https://community.hubspot.com/t/react-app-masked-in-hubspot/61469>\
**Category:** CMS Development\
**Created:** [July 21, 2022, 6:34pm UTC](https://community.hubspot.com/t/react-app-masked-in-hubspot/61469 "2022-07-21T18:34:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xxicay](https://avatars.discourse-cdn.com/v4/letter/x/74df32/32.png) [@xxicay](https://community.hubspot.com/u/xxicay)\
**Post date:** [July 21, 2022, 6:34pm UTC](https://community.hubspot.com/t/react-app-masked-in-hubspot/61469/1 "2022-07-21T18:34:59Z")

</div>

Hi all,

Im trying to have a stand alone react app be masked in a hubspot URL for example:

[mywebsite.com](http://mywebsite.com/jobs) ---\> will mask the below site

> **[My Other Website is coming soon](https://myotherwebsite.com)**
>
> We are doing some work on our site. Please come back later. We'll be up and running in no time.

Is this possible?

It will make it much easier for us to keep our main app seperated from our content site in hubspot, or if you guys got any other possible solutions that I’m overlooking that be great!

---

<div class="post-metadata">

**Author:** ![Teun](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/teun/32/28739_2.png) [@Teun](https://community.hubspot.com/u/Teun)\
**Post date:** [July 22, 2022, 6:23am UTC](https://community.hubspot.com/t/react-app-masked-in-hubspot/61469/2 "2022-07-22T06:23:53Z")

</div>

Hi @xxicay ,

Looks like you want to try the [reversed proxy](https://developers.hubspot.com/docs/cms/developer-reference/reverse-proxy-support) that HubSpot offers (CMS Hub Enterprise). It allows you to do exactly what you are trying to achieve.

The other solution is using a subdomain like [jobs.mywebsite.com](http://jobs.mywebsite.com).

That being said, it is quite easy to use a React app inside a HubSpot website page, so you could also use a HubSpot website page and create a custom module where you load your app:

Index.js:

```lia-code-sample
import { h, render } from 'preact';
import App from './containers/App';

// Tell Babel to transform JSX into h() calls:
/** @jsx h */

const container = document.getElementById('js-jobs');

if (container) {
 render(
 <App />,
 container,
 );
}

```

Module.html:

```lia-code-sample
<section id="js-jobs" class="">
</section>

```
