Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies and more


Custom Subdomain Setup Question


billyfunnel

Recommended Posts

I've been following these instructions from the wiki to setup a custom subdomain for my Valheim server.

However, I don't use Cloudflare as my DNS provider as of now. My domain happens to be on Namecheap.

I seem to have been able to set up the A and SRV records the same way. To me it looks like it's correctly done. The problem is that by the end of it, Valheim just isn't able to connect. I get the "Failed to Connect" message when I try to join IP in the Valheim launcher.

Here's some redacted output from running dig for the SRV record on my domain:

dig srv _valheim._tcp.valheim.mydomain.com

; <<>> DiG 9.10.6 <<>> srv _valheim._tcp.valheim.mydomain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45250
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;_valheim._tcp.valheim.mydomain.com. IN	SRV

;; ANSWER SECTION:
_valheim._tcp.valheim.mydomain.com. 1800	IN SRV	0 0 2956 valheim.mydomain.com.

;; Query time: 145 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Thu Sep 16 19:29:26 CDT 2021
;; MSG SIZE  rcvd: 101

And here's the A record:

; <<>> DiG 9.10.6 <<>> valheim.mydomain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4830
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;valheim.mydomain.com.		IN	A

;; ANSWER SECTION:
valheim.mydomain.com.	1799	IN	A	my.server.ip.address

;; Query time: 57 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Thu Sep 16 20:03:11 CDT 2021
;; MSG SIZE  rcvd: 64

I wonder if there's something obvious that I'm missing here that anyone can tell?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...