# On Demand portal accessible with IP but not with domain name

**URL:** <https://discourse.openondemand.org/t/on-demand-portal-accessible-with-ip-but-not-with-domain-name/3795>\
**Category:** Get Help\
**Tags:** ondemand2, question\
**Created:** [October 8, 2024, 11:42am UTC](https://discourse.openondemand.org/t/on-demand-portal-accessible-with-ip-but-not-with-domain-name/3795 "2024-10-08T11:42:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![varunsv](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/varunsv/32/2438_2.png) [@varunsv](https://discourse.openondemand.org/u/varunsv)\
**Post date:** [October 8, 2024, 11:42am UTC](https://discourse.openondemand.org/t/on-demand-portal-accessible-with-ip-but-not-with-domain-name/3795/1 "2024-10-08T11:42:34Z")

</div>

Hello,

I am testing Open Ondemand locally, I can access the ood portal when the servername in the ood\_portal.conf is set to my IP, but it fails when I use domain name, I can only see the apache start page. Any suggestions?

Thank you,  
Varun

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [October 8, 2024, 9:19pm UTC](https://discourse.openondemand.org/t/on-demand-portal-accessible-with-ip-but-not-with-domain-name/3795/2 "2024-10-08T21:19:54Z")

</div>

Hi and welcome!

Sorry for the delay. I’m guessing you’re running on a Ubuntu system because I think that can happen with Ubuntu apache2 distributions. Here’s a page that may help you see the the virtualhosts that apache has configured.

[https://osc.github.io/ood-documentation/latest/how-tos/debug/debug-apache.html#show-virtualhosts](https://osc.github.io/ood-documentation/latest/how-tos/debug/debug-apache.html#show-virtualhosts)

That said - if you’re testing OnDemand locally I’d suggest this `docker compose` project. It has a slurm cluster as well as OnDemand. OnDemand is great, but a bit useless without a scheduler (plus it has the apps installed and tutorials).

But if you do use this project, please build the containers yourself. The ones on Dockerhub right now don’t work because the certificates they have in the images have expired.

> **[GitHub - ubccr/hpc-toolset-tutorial: Tutorial for installing Open XDMoD, OnDemand, &...](https://github.com/ubccr/hpc-toolset-tutorial/)**
>
> Tutorial for installing Open XDMoD, OnDemand, & ColdFront

---

<div class="post-metadata">

**Author:** ![varunsv](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/varunsv/32/2438_2.png) [@varunsv](https://discourse.openondemand.org/u/varunsv)\
**Post date:** [October 8, 2024, 10:08pm UTC](https://discourse.openondemand.org/t/on-demand-portal-accessible-with-ip-but-not-with-domain-name/3795/3 "2024-10-08T22:08:13Z")

</div>

Hi Jeff,

Thanks for the response. Yes I’m using Ubuntu 22.04.  
I think there is an issue with SSL, as I can access the ood portal on http but not on https. I’m using a self signed certificate.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [October 9, 2024, 1:14pm UTC](https://discourse.openondemand.org/t/on-demand-portal-accessible-with-ip-but-not-with-domain-name/3795/4 "2024-10-09T13:14:48Z")

</div>

Yea I’d still suggest the toolset docker compose project just because it’s got everything built into it. And again, Open OnDemand without a scheduler is pretty useless. That project boots slurm containers and has Open OnDemand preconfigured to use that slurm cluster.

---

<div class="post-metadata">

**Author:** ![varunsv](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/varunsv/32/2438_2.png) [@varunsv](https://discourse.openondemand.org/u/varunsv)\
**Post date:** [October 14, 2024, 9:35am UTC](https://discourse.openondemand.org/t/on-demand-portal-accessible-with-ip-but-not-with-domain-name/3795/5 "2024-10-14T09:35:01Z")

</div>

Hi Jeff,  
Thank you for your help. Our OOD works now.  
We do have clusters with scheduler that I have enabled through cluster configs.  
I am now proceeding to configure batch connect for enabling Jupyter notebook.  
We are not so keen on Docker solution right now as we want to deploy it on the cluster.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [October 14, 2024, 1:19pm UTC](https://discourse.openondemand.org/t/on-demand-portal-accessible-with-ip-but-not-with-domain-name/3795/6 "2024-10-14T13:19:08Z")

</div>

> [@varunsv](#):
>
> We are not so keen on Docker solution right now as we want to deploy it on the cluster.

Yea if you want to take it to full production, installing a package (an .rpm or .deb) on a VM or somewhere is your best bet.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [April 12, 2025, 1:20pm UTC](https://discourse.openondemand.org/t/on-demand-portal-accessible-with-ip-but-not-with-domain-name/3795/7 "2025-04-12T13:20:00Z")

</div>

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