You should enable Apache Mod-Rewrite module on your Linux server.
Copy the following code to your Notepad:
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^searchenginesemseo.com [nc]
rewriterule ^(.*)$ http://www.searchenginesemseo.com/$1 [r=301,nc]
Save it as .htaccess and upload to the root directory of your website. That’s all. Of course, you should replace searchenginesemseo.com and www.searchenginesemseo.com with your own domain name.