# Frondend URL Problem

**URL:** <https://forum.keycloak.org/t/frondend-url-problem/21336>\
**Category:** Getting advice\
**Created:** [April 6, 2023, 1:38pm UTC](https://forum.keycloak.org/t/frondend-url-problem/21336 "2023-04-06T13:38:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ekrembayar](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/ekrembayar/32/8086_2.png) [@ekrembayar](https://forum.keycloak.org/u/ekrembayar)\
**Post date:** [April 6, 2023, 1:38pm UTC](https://forum.keycloak.org/t/frondend-url-problem/21336/1 "2023-04-06T13:38:29Z")

</div>

Hi,

I’m a data analyst, not a developer. That’s why, I don’t know how to handle kind of this things.

I developed a web application and it runs on 8080 port. In order to authenticate this app, I ran a keycloak docker container on 8081 port. I took a domain from IT department such as `mydomain.com`.

By using nginx and reverse proxy, I assigned the domain to `http://my-ip-address:8080` (the app url).

When I want to go to the app (`mydomain.com`), I have to login with keycloak. and I see the frontend url on the browser like

**`http://*.* .*.* :8081/auth/realms/shinyproxy/protocol/openid-connect/auth?response_type=code&client_id=shinyproxy&redirect_uri=http%3A%2F%[2Fmydomain.com](http://2fmydomain.com/)%2Fsso%2Flogin&state=858f3a51-b2ba-499c-bef4-804170f2f82b&login=true&scope=openid`**

Do I need two different domains for this problem? For example,

- App: `app.mydomain.com`
- Keycloak: `keycloak.mydomain.com`

Or can I use one domain for both of them?
