![]() |
|||||
Site Panel Help | User Panel Help | Panel Demo's | Search | Help |
Categories· New Customer FAQs · FAQ Home |
XML-File<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?> <!-- XML-Output by phpMyFAQ 1.3.8 --> <phpmyfaq xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:NamespaceSchemaLocation="http://www.phpmyfaq.de/xml/faqschema.xsd"> <article id="90"> <language>en</language> <category>Domains</category> <keywords></keywords> <theme>Point extra domain to folder</theme> <content xmlns="http://www.w3.org/TR/REC-html40">You can point an additional domain to a sub folder. Assuming your extra domain is "example.com" do this: 1: Add a folder "example.com" in your main web folder. 2: Create a text file named ".htaccess" and upload it to your main web folder. The .htaccess file should look like this: ------------------------------------- RewriteEngine On RewriteCond %{REQUEST_URI} !^/example.com/ [NC] RewriteCond %{HTTP_HOST} ^(www.)*example.com$ [NC] RewriteRule ^(.*) example.com/$1 [L] ------------------------------------- Note: Replace "example.com" with the real domain. If it doesn't work at a first attempt, you can look for error messages in "/var/log/httpd/error_log"</content> <author>EchoEcho Support</author> <date>12.07.2009, 21:10</date> </article> </phpmyfaq> |
Copyright © EchoEchoPlus Hosting |