I have recently setup a subdomain using a dedicated ip, however the website with the subdomain is hosted by the root website. So if you go to the_correct_subdomain.mysite.com you see what is supposed to be there, but If you go to subdomain_doesnt_exist.mysite.com it displays the root website so how do i redirect it so if the subdomain doesnt exist it redirects to the correct website ? Thanks for your help
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !^the_correct_subdomain.mysite.com$ RewriteRule ^.* http://the_correct_subdomain.mysite.com$1 [R=301,L] </IfModule> Code (markup): Good Luck
sadly to say it didnt work, but i dont think if there is a way to do it because the webiste that has the subdomain is not the root host. . .. Good thing is I have defied the odds and got Wordpress MU installed on a Godaddy Shared Hosting and it works ! ! ! Oh YEAHH ! ! !