Can you add an invite-link to Discord as a subdomain?

Question:
Is it possible to forward a subdomain like discord.mydonain.com to a Discord invite link like Two Geeks One Cup ?

I guess since the code behind the slash is necessary and CNAME entries can only direct to a domain directly this is not possible? Any other option?

Best,
Dan

Product:
[Which editor or feature is your question most relevant to? e.g. Wix Editor, Wix Studio Editor.]

What are you trying to achieve:
[Explain the details of what you are trying to achieve. The more details you provide, the easier it is to understand what you need.]

What have you already tried:
[Share resources, forum topics, articles, or tutorials you’ve already used to try and answer your question.]

Additional information:
[Include any other pertinent details or information that might be helpful for people to know when trying to answer your question.]

1 Like

As you guessed, DNS records only direct to IPs, and Discord invite links are full URL with their path being the unique part

You could use redirects, setting up pages on your site that direct the user to the Discord server, but that wouldn’t be using the subdomain

It may be possible though, to host your Wix site on both the main and the subdomain, then using code, check which subdomain (hostname) visitors are using when they enter, and if it is the discord one, send them away to the invite link
It is quite a hassle though, I would not recommend

Thank you.. yes, I guess I will stick with a simple menu-item and button and direct everyone to my main-page instead… before I had to adjust the nameservers for WIX I could do a simple forward via Hover (my domain provider) which worked fine - but since DNS runs via WIX now that function is dead. Maybe WIX could implement sth like this in the future…

You could always move the domain to a different registry if you want their features, Wix doesn’t enforce using them as the registry

The domain is registered with Hover - but in order for the domain to show up on the adress line I need to use WIX name servers - dont I?

Nope, Wix supports being used as a DNS, or just as the site host, you can point the DNS in your current registry to your Wix Site, there should be instructions when starting the “Connect a domain” process