Subdomains

Using a single web hosting account to host multiple sites

Subdomains

Postby Wazka » Tue Jan 04, 2005 1:17 pm

Hello ;)

For example i have domain test.com
How to do it, that all subdomains *.test.com will be going to test.com/index.php
For example if I type new.test.com i will see index.php content.

Thanks for help, and sorry for my english :)
Wazka
 

Postby Caterham » Wed Jan 05, 2005 1:32 am

Hi,
it's usualy a matter of the server config. your subdomain must point to the same directory your normal domain does.

Or you use a proxy for each subdomain, but this causes double traffic

.htaccess on your subdomain:
Code: Select all
RewriteEngine on
RewriteRule ^(.*) http://www.test.com/$1 [P,L]


May be you can enable in your admin-interface, that all subdomains are pointing on the main domain

Bob
Caterham
 
Posts: 690
Joined: Fri Dec 10, 2004 1:30 pm


Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 97 guests

cron