# Change the UI colors based on url?

**URL:** <https://discourse.openondemand.org/t/change-the-ui-colors-based-on-url/2513>\
**Category:** Get Help\
**Created:** [March 3, 2023, 7:11pm UTC](https://discourse.openondemand.org/t/change-the-ui-colors-based-on-url/2513 "2023-03-03T19:11:19Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![simonleary-umass-edu](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/simonleary-umass-edu/32/1254_2.png) [@simonleary-umass-edu](https://discourse.openondemand.org/u/simonleary-umass-edu)\
**Post date:** [June 20, 2023, 9:58pm UTC](https://discourse.openondemand.org/t/change-the-ui-colors-based-on-url/2513/5 "2023-06-20T21:58:08Z")

</div>

I have installed OOD 3.0 and set up hostname profile selection.

In order to get the same OOD portal running under two names, my plan is to copy the apache config and find/replace the ServerName as well as the certificate/private key locations. But I get the feeling that there is a better way. Ideally this could be done in my ood\_portal.yml. Is that possible?

> [@Modifications to the view.rb file to allow multiple ood servers to have an ServerAlias](https://discourse.openondemand.org/t/modifications-to-the-view-rb-file-to-allow-multiple-ood-servers-to-have-an-serveralias/2691/2):
>
> 3.0 supports server aliases, looks like we just forgot to document it. I don’t think I follow number 2, but I see that we do force the value instead of overwriting it. @tdockendorf do you know more about why this may be an issue for HAPorxy environments?

---

_[View the full topic](https://discourse.openondemand.org/t/change-the-ui-colors-based-on-url/2513)._
