Mod_rewrite/htaccss question - probably a dumb one


#1

Hi Everyone!

This is probably a very very dumb question, but could mod_rewrite/htaccess be used to rewrite the URL of a subdomain to look different?

Take this for example: Say I have dogs.domain.com and I’d like it to look like domain.dogs.com

Is this even possible?

I haven’t had much success searching on the web, and before I wasted a lot of time on this, I wanted to make sure it was possible first.

Thanks!


#2

You could rewrite it, but it would act like a redirect and send people to domain.dogs.com, which probably doesn’t exist as a subdomain of dogs.com.


#3

Awww poo. Oh well! Thank you very much!