# Domain question

**URL:** <https://community.glideapps.com/t/domain-question/35919>\
**Category:** Ask for Help\
**Created:** [December 13, 2021, 8:05pm UTC](https://community.glideapps.com/t/domain-question/35919 "2021-12-13T20:05:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fluittsolutions](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/fluittsolutions/32/30155_2.png) [@fluittsolutions](https://community.glideapps.com/u/fluittsolutions)\
**Post date:** [December 13, 2021, 8:05pm UTC](https://community.glideapps.com/t/domain-question/35919/1 "2021-12-13T20:05:24Z")

</div>

I posted this question as a comment on the November 16 video about advances in Glide Pages, but I didn’t get a response so I’m posting here.

I own domains for my glide apps. I see the value of glide pages for the exact administrative purposes demonstrated in the video using the same data source as the app. Do I have to buy new domains for the glide pages? How might I be able to use the app on mobile devices, but have the features of pages on desktop using my purchased domain?

Thanks!

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [December 14, 2021, 1:13pm UTC](https://community.glideapps.com/t/domain-question/35919/2 "2021-12-14T13:13:38Z")

</div>

Though I haven’t tried it you should be able to detect the device and OS using this experimental code column. Then use the results in combination with visibility filters/ if-then-else statements

> [@Agent for information](https://community.glideapps.com/t/agent-for-information/29981):
>
> Hello, When troubleshooting a user, it can be helpful to know their system configuration. [image] Link for YC [https://Agent.manun2.repl.co](https://Agent.manun2.repl.co)

---

<div class="post-metadata">

**Author:** ![fluittsolutions](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/fluittsolutions/32/30155_2.png) [@fluittsolutions](https://community.glideapps.com/u/fluittsolutions)\
**Post date:** [December 15, 2021, 5:11pm UTC](https://community.glideapps.com/t/domain-question/35919/3 "2021-12-15T17:11:36Z")

</div>

I understand each word you wrote…but not sure I follow your concept. Let me restate what I think you are saying and please let me know if I’m right.

Rather than build a new **Glide Pages** site, it sounds like you are suggesting I simply use my current **Glide App** but in its web-based interface adjusting components and using features for the specific web-based experience I am trying to achieve for administrators.

My concern is that **Glide Pages** seems to have some features that **Glide Apps** does not. I would really like to use some of those features demonstrated in Glide’s video but they appear to be **Glide Pages-specific**.

With the introduction of Glide Pages, I wonder if one should:

1. Build using **Glide Apps** that can also be _accessed on the web_.
2. Build using **Glide Pages** that is also _mobile friendly_.

Thanks for your input.

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [December 15, 2021, 5:29pm UTC](https://community.glideapps.com/t/domain-question/35919/4 "2021-12-15T17:29:50Z")

</div>

Wether you should build your app on Glide Pages or Glide Apps I have no opinion on. I believe the concept I linked to applies to both Pages and Apps.

For example you may want to show or hide a component when someone is on mobile vs. desktop. Again I haven’t tried this but the idea seems simple enough.

component x is visible if User → device → includes → mobile.

Whichever way you choose I wish you great success on your project 🥂

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 15, 2021, 7:27pm UTC](https://community.glideapps.com/t/domain-question/35919/5 "2021-12-15T19:27:51Z")

</div>

I think what you would need is something in the domain settings that would redirect the user to the app or the page based on their user agent or screen resolution. I believe that would have to be determined prior to the url redirecting to either the app or page. The alternative would be separate subdomains for either the app or the page. I’ve never set anything up like that, so I don’t have any detailed advice.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [December 15, 2021, 11:44pm UTC](https://community.glideapps.com/t/domain-question/35919/6 "2021-12-15T23:44:32Z")

</div>

Adding to what Jeff said, here’s a thread talking about how to use window.location for mobile.

> <https://stackoverflow.com/questions/26649767/best-way-to-detect-mobile-device-and-redirect>
