Here's the code in .htaccess file that should be redirect from subdomain to a certain page. RewriteEngine On RewriteCond %{HTTP_HOST} ^subdomain.domain.com RewriteRule ^(.*)$ http://subdomain.domain.com/index.php?name=lists [R=301,L] Code (markup): Thanks guys