Skip to content
WJunction - Webmaster Forum

Subdomains synchronization

Status
Not open for further replies.
Hi,

I want to open a new web service and want to know how can I make something like aceproject or site that use a subdomain for every new member?

What about SQL? Every member has a new DB? How to update my script on every subdomains at once?

Thank you!
 

1 comment

hi
you normally don't do this.
you just do a rewrite in your apache or nginx - alternativly you can try setting up wildcard reverse-proxies (but i don't know if this will work :D)
so that allen.domain.com will be internally be handeled as domain.com/users/allen

so only one database-server is needed with new Databases for each user. which should be created via script. (and if you have a script, you can even create new config-files for your service, but i wouldn't recommend this)
 
Status
Not open for further replies.

About the author

J
New Member · Joined
1
Messages
0
Reactions
1
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom