vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Programming Discussion :: .htaccess, subdomains? - View Topic
Topic Rating: *****
Printable View
I Anoop I
Junior Member
**

[Avatar]
No Thanks.

Posts: 47
Status: Offline
Gender: Male
Location: New York
Joined:  
Reputation: 0%  


pmwwwmsnaim
.htaccess, subdomains? (25th Feb 08 at 10:22pm UTC)
How would I do that? I made a forum script that hosts multiple forums on one server, but I want to automatically create virtual subdomains.

Image
ajay
Guest
Re: .htaccess, subdomains? (25th Feb 08 at 11:51pm UTC)
Just use mod_rewrite {Tongue Out} .
Dylan
Junior Member
**

[Avatar]

Posts: 136
Status: Offline
Gender: Male
Joined:  
Reputation: 0%  


pmwwwmsnaimxfire
Re: .htaccess, subdomains? (26th Feb 08 at 12:07am UTC)
setup a wildcard DNS entry

if your using cPanel go into the subdomain manager and enter * as the subdomain, that should work.

Then find a way to split the domain grabbing the subdomain using it as a username and using that to query the database.


Image
 Printable View

All times are GMT+0 :: The current time is 8:03am
Page generated in 1.5104 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums