Map subdomain to url..


Active member
Maybe I ask the question wrong - but here what I want.

On my site I now have some 'big' add-ons installed. They all have url:

and so on.. Some of them are more important than others and for these, I will have subdomain. Eg for forum have and wiki have

So I wish to give members the opportunity to enter url and land on in browser.

How do I resolve this is best and what is possible. best practice?

I have all the necessary access to dns, webserver etc. so please shot on me..

Thanks in advance


Active member
Ok ..

Got it to work - Right now my wiki and forum subdomain part is sync on dns and later also chat .. If you want to test: goes to directly to my wiki part and goes directly to my forum part..

Now - whether it is the right way to do it must be unsaid - but it works for me. It would probably be more correct with an a-record to a directory on the webserver and so in this directory have some info in a .htaccess or html/php file to redirect. It is beyond my knowledge to find out.

Jake Bunce

XenForo moderator
Staff member
It is best to enforce just one URL per page for cookie reasons. The default cookie settings will not allow the login cookie to cross subdomains, so you can get a situation where users have to login twice, once for each URL.

You can setup a simple redirect where redirects to That way no matter what URL they use to access the page they will end up on the same URL.

Is there a functional reason why you are using subdomains? If it's just for URL aesthetics then it might be best to avoid having multiple subdomains for the forum.