I feel like I'm caught in an .htaccess Catch 22 nightmare. Help?
I have a hosting customer who had a simple HTML site (www.villepaintersinc.com) who decided they wanted a blog. Since their existing site was static and because they didn't want to spend the money on converting to a full content management system I created a subdomain called "blog", installed Wordpress on it, and allowed them to blog away at "blog.villepaintersinc.com".
Yesterday a local design company replaced the simple HTML content with new-improved design. The removed the "blog" subdomain via the DA CP, but left "blog" subdirectory structure and all of its data untouched.
Then, through some devilry that's over my head, they somehow set things up so that anyone going to "www.villepaintersinc.com/blog" would see the content that was previously available at "blog.villepaintersinc.com".
Since the subdomain "blog" had been removed from the DA CP there was no longer a DNS entry for "blog.villepaintersinc.com". So when people visit "blog.villepaintersinc.com" they receive a "server not found" error.
Now the client is asking, "Hey... when people type in 'blog.villepaintersinc.com' can you just redirect them to 'www.villepaintersinc.com'?"
I've hacked around with htaccess files, custom HTTPD configs, and DNS entries until my head is spinning.
Can anyone help me through this puzzle?
I have a hosting customer who had a simple HTML site (www.villepaintersinc.com) who decided they wanted a blog. Since their existing site was static and because they didn't want to spend the money on converting to a full content management system I created a subdomain called "blog", installed Wordpress on it, and allowed them to blog away at "blog.villepaintersinc.com".
Yesterday a local design company replaced the simple HTML content with new-improved design. The removed the "blog" subdomain via the DA CP, but left "blog" subdirectory structure and all of its data untouched.
Then, through some devilry that's over my head, they somehow set things up so that anyone going to "www.villepaintersinc.com/blog" would see the content that was previously available at "blog.villepaintersinc.com".
Since the subdomain "blog" had been removed from the DA CP there was no longer a DNS entry for "blog.villepaintersinc.com". So when people visit "blog.villepaintersinc.com" they receive a "server not found" error.
Now the client is asking, "Hey... when people type in 'blog.villepaintersinc.com' can you just redirect them to 'www.villepaintersinc.com'?"
I've hacked around with htaccess files, custom HTTPD configs, and DNS entries until my head is spinning.
Can anyone help me through this puzzle?