Just put this in a text file and name it index.php and put it in your public_html folder. Then all you have to do is type
www.yourdomain.com and it'll redirect you. It'll help you with your 1st question but not the second.
Code:
<?php
header("Location: http://www.yourdomain.com/xcart/home.php");
exit;
?>