How to redirect sub-domains to main domain name?
It is very easy to redirect sub-domains (e.g http://free-movies.paramlowe.com) of a website to its main domain name (i.e. http://www.paramlowe.com) with the help of HTACCESS mode. You need Apache web server with mode rewrite enabled.
Search Engine Optimization professionals also use this kind of htaccess redirect to keep web surfer’s stay on the main domain rather than showing them 404 Page not found error.
Put this 4 lines of code as .htaccess file in sub-domain folders
RewriteCond % !^www\.example\.com
RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L]
Try it and enjoy.