Web Advertising - Learn real Kung Fu - Loans - Personal Loans - Credit Counseling

PDA

View Full Version : apache sub domain hosting, help needed


visioninfotech
Apr 18th 2006, 2:06 am
hi everyone
i have a vbulletin forum running on apache.

I wanted to make a sub domain and point it to a sub forum so that it could look as if its hosted completely differently.

forums.site.com is the main forum

fitness.site.com >>> should take the complete things from >>forums.site.com/fitness/


I can host the sub domain, fitness.site.com, where should i point it to in apache config file.

please suggest

thanks

visioninfotech
Apr 18th 2006, 5:27 am
no help :|

sadcox66
Apr 18th 2006, 7:54 am
when you make a subdomain like fitness.site.com
you should get a subdirectory called site.com/fitness
a.) Why not use it instead.
b.) If you really want to - create another subdomain called forum.site.com
and in site.com/forum place a .htaccess with
DirectoryIndex ../forum/index.php

You may need to tweak it.

visioninfotech
Apr 20th 2006, 8:29 am
the aim is to use the same forum for different subdomains which we will target, this will help to create different looking forums, while the actual forum will be one only.

theblight
Apr 28th 2006, 6:39 am
1. Add a subdomain DNS entry. then
2. Add an entry on apache to catch the subdomain
3. Point the DocumentRoot of the new subdomain to a folder
4. Create a mod_rewrite script that will resolve,

to make it look like a new forum..

Hope it helps