-
-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Virtual Hosts are not working correctly #16
Comments
NamelessMC uses an external library to query servers (found here). I'm not entirely sure how the forced hosts work; I've added a resolver to the query to determine where a domain is pointing, however if there's still no luck it may be worth creating an issue over in the query's issue tracker. |
It's similiar to Apache's virtual hosts, or any shared hosting platform for that matter. Depending on what hostname is used in the connection/query it determines which server to forward you to. Since your querying with the IP instead of the domain, it won't work correctly. It looks like the library supports domains, you can simply check the difference of samistine.com vs plotme.samistine.com if you want to quickly see what I mean. |
Yep, library works perfectly. You just have to query the domain instead. |
In order to allow the query to work with SRV records, I've had to resolve domains to their IP. |
Bungeecord's Forced Hosts allow pinging to different backend servers depending on the hostname you are using to connect eg creative.exampl.com survival.exampl.com
The text was updated successfully, but these errors were encountered: