You may be in a need to redirect all requests coming to your domain name to For Linux based hosting, you can write following redirect rule in .htaccess file. Please make sure that Apache Mod-Rewrite module should be enabled in Linux server to make this working :

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^ [nc]
rewriterule ^(.*)$$1 [r=301,nc]

Note: Make sure you replace and with your actual domain name.