Redirecting a Domain into a Folder
Wednesday, May 7th, 2008Some web hosts who allow you to have multiple domains on one account treat one differently from the rest. Your “main” domain uses the top level of the account while all the add-on domains go in folders. This arrangement makes sense for the many who only have one domain on their account since it saves them going dowen an extra level every time they want to access their domain content. For those with multiple domains a few lines of extra code in your .htaccess file (assuming you are on Apache) will move the main domain into a folder just like the add-on domains.
