Jump to content

Server Settings


Recommended Posts

EDIT: reread your post and it is different than I initially thought.


Assuming you are hosting multiple sites using the same code-base you would likely have some different static content (i.e. flat-files) and either separate databases or a single database where all the records have a foreign key for each site. So, in your logic you would need to check the domain name used to access the site (check the $_SERVER global var), then find the root of the domain name. Once you have that, use the value to determine the correct folder(s) and the correct databases or site ID to use.

Link to comment
Share on other sites

Its all done in PHP like tumblr of Facebook.

So like tumblr the user would need to set the A record of the domain and then they would need to enter in (on my site) their domain and then it needs to (magically, how?) show their page.......


So how does the PHP code work?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.