Point a seperate domain to surfer app
-
I hope this hasn't been asked many time but i couldn't find any relating entry, so ...
On my cloudron server the surfer app just runs fine. But I wonder if i could point seperate domain to a single surfer app. So let's say my surfer is up and running at
https:://surfer.<cloudron>.<tld>
. Now i have a separate domain likehttps://<my-private-site>.<tld>
which should serve the content from the surfer app.In a standard enviroment i would simply adjust the nginx-settings to redirect the domain to the surfer-domain. But how would you do that the cloudron way?
-
Aliases and Redirects do not provide the behaviour I would like to achieve.
For example, I have a surfer app at
surfer.example.com
with inindex.html
that prints out "Hello Surfer World". Additionally I have a external Domain likeexample.org
. I want to set up this domain in a way that when I enterhttps:://www.example.org
in a browser window it would serve myindex.html
with "Hello Surfer World".I my understanding this would require the ability to alter the primary cloudron nginx.
-
Sorry, now I get it.
I just have to register the external domain example.org in the Domain Panel and then create an alias in my surfer app with no entry.
(That's why it says "Leave empty to use bare domain").Thanks for pointing me in the right direction.
-
-