to make make my problem easier to understand I will call my first domain "a.com" and my new domain "b.com". ok so I got a.com parked so its pointed to my root directory. now I got a new domain, b.com, I parked it so its pointed to my root directory too but I want to change it to point it to other directory within the root directory. how can I do that? I tried redirecting it to it but it will show the original domain after it loads the page. I would appreciate the help.
here is a quick fix since i know nothing of your setup: in index page of a.com put a code snippet that looks like this (if you can use php) <?php if($_SERVER["HTTP_HOST"]=="b.com"){ echo "<script type=\"text/javascript\">"; echo "window.location = \"http://www.a.com/sub-folder\""; echo "</script>"; } ?> Code (markup):
well, is user keep javascript disabled. then? you can buy Managed DNS also. Price is around $1 per year. I feel you are not going to buy server space for both domain. try to use php header function only to simply redirect to the destination url. check out my site www.hayat.co.in or hayat.co.in, its simply redirecting to shop.hayat.co.in. code: <?php ob_start(); header("Location: http://www.b.com"); ob_end(); exit(); ?>