• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Subdomain / Redirect question

I would like my Gallery to be accessible at gallery.domain.com because my old gallery on vB was at that subdomain and there are still incoming links pointed there.

My gallery is now at forums.domain.com/gallery/ since I have a route filter changing /xengallery to /gallery

So what I need is for gallery.domain.com to go to forums.domain.com/gallery/
the problem is with everything I've tried, gallery.domain.com just goes to forums.domain.com

To set up the gallery.domain.com subdomain, I went into cPanel > Subdomains and set it up with redirection to
Still that goes to the forums index.
I have also tried setting the redirection to these with the same result:

They all still go right to forums.domain.com NOT the gallery.
I have waited for propagation and purged my cache.

How can I set this up?

Chris D

XenForo developer
Staff member
This isn't something I have a direct answer for, unfortunately. It's likely what you're trying to do simply won't work. It's quite an advanced configuration, and not one that usually lends itself to providing much benefit, overall.
I figured out a way to do this with rewrites in htaccess and fixing a misconfiguration with the subdomain.
I wasn't trying to set up something new, only trying to direct traffic coming into the old gallery.domain.com subdomain to the current gallery location.