| View previous topic :: View next topic |
| Author |
Message |
Angel Guest
| |
|
|
Lord Guest
|
You have to have a host that gives you the ablility to set up subdomains...most do and usually they give a few free as part of your hosting plan.
If you have a host that uses the popular cpanel, you would go into the 'setup subdomains' link (or something similar) and it will ask what subdomain you want to set up. So, in your example, you would name it 'forum'.
Then, you need to set up a folder in your main directory (or public_html directory as many hosts call it) and call it 'forum'.
That should do it. |
| |
|
|
Angel Guest
|
Well, I have my own stuff.
I was curious if there's like a rewrite rule or something so it could stay as ->
forum.site.com/(whatever_name).(whatever_file_extension)
instead of when I go to forum.site.com
it goes to http://www.site.com/forum/
i have vBulletin and i set it up for the base url to be forum.site.com
Listen 80
ServerName www.site.com:80
NameVirtualHost *
<VirtualHost *>
ServerName forum.site.com
DirectoryRoot /www/forum
</VirtualHost> |
| |
|
|
BDumitru Site Admin
Joined: 08 Aug 2006 Posts: 7
|
| Anyway, for the newbs: there are PHP scripts that allow you to create subdomains from directories .... |
| |
|
|
WarChild
Joined: 24 Feb 2006 Posts: 46
|
| You can set up transparent redirects also by using Apache's mod_rewrite |
| |
|
|
|
|