I am trying to get subdomain to work. I am hosting at godaddy and have drupal 7 installed in the root directory and is the primary domain www.domain.com.
I have created a subdomain devel.domain.com and I am trying to get access to a development copy of the website. But when I enter the URL devel.domain.com, it redirects me to domain.com

What settings in htaccess do I need to modify? This is the htaccess in the root directory

RewriteEngine on
RewriteRule "(^|/)\." - [F]
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301]
RewriteBase /

The htaccess in the devel directory is the same, except I changed the RewriteBase to be /devel

Thanks for any help.

Mike

Comments

Make sure you change the base

Make sure you change the base URL in ur settings.php.

thanks I missed that one, but

thanks I missed that one, but it still redirects to the primary domain after I made the change.

Thanks