Subdomain / Redirect question

Ocean44

Member
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
http://forums.domain.com/xengallery/
Still that goes to the forums index.
I have also tried setting the redirection to these with the same result:
http://forums.domain.com/xengallery
http://forums.domain.com/gallery
http://forums.domain.com/gallery/

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?
 
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.
 
Back
Top Bottom