Fresh PHP news, tutorials, tips and much more

Handling multiple domains

Hi, I’m back again. Today first post is about great tip how you can handle multiple domains in your web applications.

A case in point: When I coded NetBoardz (my free forum hosting service now defunct), I had one codebase handling all 250 forums. How? Simple. When the code runs, it determines which site the user is loading and does different things (like using different databases) dynamically.

Tip author shows great examples.

Post tagged with: , ,

Leave a Reply