Hi all,
I set up a subdomain of x on domain y.com, thus x.y.com, to redirect to y.com/x, which works fine. I then set up a subdomain of z to redirect to y.com/x, which doesn't work. So http://z.y.com gives a "server not found error." I compared the .htaccess files in both y and z directories and they're the same except for referencing their respective subdomains. Jaguar's not been able to help so far, telling me to clear my cache, etc. It did work, however, going through a proxy server, so I'm not sure why it doesn't work for me when i just type in http://z.y.com. Going to http://y.com/z gives me a 403 error, but that's probably b/c indexes aren't turned on for the site.
y.com's .htaccess:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^z.y.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.z.y.com$
RewriteRule ^(.*)$ http://y.com/x [R=301,L]


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks