What is the problem?
Hello
I have 2 sub-domains:
octopi.test -> for octopit , works perfectly
other.test -> for an nodejs app (use the localhost:3000)
Someone can help me with HaProxy or something ?
I don't really understand the redirect process of this stuff ^^'
when I try other.test.com it redirect me on the octopi instance
What did you already try to solve it?
Used the magic of google, and used the search function in this great forum
Last stable release
Have a nice day (or night)
What's the primary domain? test.com
is what it sounds like from your description.
Then it sounds like you have two DNS A
records: octopi.test.com
and other.test.com
. Are these both the same server/host?
Try ping octopi.test.com.
with a period at the end.
Try ping other.test.com.
with a period at the end.
Honestly, the main instance of OctoPrint runs from ports 80
, 5000
(and if there's a camera, possibly 8080
as well). If this is on the same server, then there's no reason to use DNS at all, 3000
should be able to co-exist nicely as octopi.test.com:3000
.