4evrblu Posted May 18, 2006 Share Posted May 18, 2006 I recently spotted a tutorial here: http://www.msfn.org/board/index.php?showtopic=19527A great tutorial on the subject of subdomains.I tried using the suggestion with an htaccess file that reads:RewriteEngine OnRewriteCond %{HTTP_HOST} ^cfhealth.cfcure.com$ [OR]RewriteCond %{HTTP_HOST} ^www.cfhealth.cfcure.com/MT/$RewriteRule ^(.*)$ http://www.cfcure.com/MT/cfhealth/ [L,R=301]basically I want cfhealth.cfcure.com to be redirected to http://www.cfcure.com/MT/cfhealth/I uploaded the .htaccess file to my www directory, and I tried the subdomain, but it failed to open, saying :: Safari can’t open the page “http://cfhealth.cfcure.com/” because it can’t find the server “cfhealth.cfcure.com”.What did I do wrong? Link to comment Share on other sites More sharing options...
tain Posted August 12, 2006 Share Posted August 12, 2006 Sounds like you don't have a DNS entry for that subdomain. The redirect won't work if DNS never gets you there to begin with. Link to comment Share on other sites More sharing options...
ZcWorld Posted August 16, 2006 Share Posted August 16, 2006 what about Vhost .. have you tryed that .. i dont know anything on the RewriteEngine rules .. to help there .. but i just use Vhost for my subdomains when i do testing Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now