Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Valheim
  3. Server only accessible via IP

Server only accessible via IP

Scheduled Pinned Locked Moved Solved Valheim
8 Posts 3 Posters 296 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • StardenverS Offline
    StardenverS Offline
    Stardenver
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • nebulonN Away
      nebulonN Away
      nebulon
      Staff
      wrote on last edited by
      #2

      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.

      StardenverS 1 Reply Last reply
      0
      • nebulonN nebulon

        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.

        StardenverS Offline
        StardenverS Offline
        Stardenver
        wrote on last edited by
        #3

        @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:

        Screenshot 2025-03-31 at 10-03-31 TeamSpeak Cloudron App.png

        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.

        1 Reply Last reply
        0
        • nebulonN Away
          nebulonN Away
          nebulon
          Staff
          wrote on last edited by
          #4

          Do you see any errors on the backend of the app? I just did a fresh valheim instance and it comes up with the placeholder just fine.

          1 Reply Last reply
          0
          • BrutalBirdieB Offline
            BrutalBirdieB Offline
            BrutalBirdie
            Partner
            wrote on last edited by
            #5

            Since I made this app I am taking a look.

            Like my work? Consider donating a drink. Cheers!

            1 Reply Last reply
            0
            • BrutalBirdieB Offline
              BrutalBirdieB Offline
              BrutalBirdie
              Partner
              wrote on last edited by
              #6

              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?

              Like my work? Consider donating a drink. Cheers!

              1 Reply Last reply
              0
              • StardenverS Offline
                StardenverS Offline
                Stardenver
                wrote on last edited by
                #7

                I don't know why, but it is working now:

                Screenshot 2025-03-31 at 12-37-05 Valheim Cloudron App.png

                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.

                1 Reply Last reply
                0
                • nebulonN Away
                  nebulonN Away
                  nebulon
                  Staff
                  wrote on last edited by
                  #8

                  Could also have just been a DNS propagation issue itself on the original (sub)domain. Hard to debug now, but either way, glad it worked out.

                  1 Reply Last reply
                  0
                  • nebulonN nebulon marked this topic as a question on
                  • nebulonN nebulon has marked this topic as solved on
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Bookmarks
                  • Search