Um. How do you set up DNS details to point at a sub_directory?
For example I have one main domain which has the DNS setup to point at the IP of the host account. But I also run websites from directories within this account, for example..
/public_html/website2/index.php
How do I set up the DNS to point at that account, rather than having to use website forwarding?
Unfortunately, you can't. DNS can only point to a domain or ip address. You'd have to do the forwarding/redirect inside your http configuration file to avoid forwarding via your script.
Bookmarks