Server only accessible via IP
-
Hi all
I'd install/set up a Valheim server but I can't access it by its domain-name. I am using subdomain.my-domian.tld and the servers status is "running". But I can't connect to this server and when I open the url in my browser, it doesn't load any website - just this loading animation. When I enter the IP in Valheim, I can connect to the server. We already tested it and we were playing with 3 players on the server. But all of us had to connect by IP.
The valheim. URL is the only sub-domain causing problems. All of the other subdomains are just working fine. I also installed teamspeak on another subdomain of the same domain and it works without any problems. Just the Valheim server is not accessible by its domain.
What can I do to make the subdomain work?
Thanks a lot
Stardenver -
The valheim server app has no web UI or anything with it, so if you visit it by domain only the placeholder page comes up.
@nebulon said in Server only accessible via IP:
The valheim server app has no web UI or anything with it, so if you visit it by domain only the placeholder page comes up.
Thanks for your reply. It doesn't even show the placeholder. On my TS3 server it shows something like this:
But on the website of my valheim domain it doesn't show anything. Firefox indicates that it is trying to load something but nothing happens till it finally hits a timeout. So it doesn't even show the placeholder. Both, the valheim and the ts3 subdomains are subs of the same main domain and all other apps work flawless. Just the Valheim one doesn't seem to "use" its domain.
-
Since I made this app I am taking a look.
-
My Server is running on https://vh.deadsec.net/ which is accessible from web and can also be connected via the DNS Name in the Valheim Game itself.
Can you check inside the web terminal of the app with:
/app/code# supervisorctl nginx RUNNING pid 147, uptime 0:00:04 vhserver RUNNING pid 148, uptime 0:00:04
if both services are running?
-
I don't know why, but it is working now:
I can also connect from within the game using the domain now. I have no idea why it wasn't working for two days. All I did was to get another domain for testing. I added this new domain to my cloudron server and tried to install Valheim on it. I then got the error-message that the needed ports are already in use. Makes sense, sure. So I decided to remove the Valheim server but accidentally clicked on the app logo instead of the settings button in the upper right. To my surprise the placeholder page opened.
Maybe something got stucked or jammed during installation of the first server? Like domain propagation? And adding another domain somehow "re-initiated" whatever got stucked? I have now idea.
But its working now. Thanks to all for answering here.
-
N nebulon marked this topic as a question
-
N nebulon has marked this topic as solved