Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on a project that would be using subdomains( my domain wildcards ) to show clients data

For example
if i registered my domain as ( www.example.com ),
my clients would be using as ( clientdomain.example.com )


Now the biggest problem am having is

1. should i write my php scripts by reading the passed in domain name from the url using the get request as ( www.example.com?client=clientdomain) then rewrite the url to match that of a client as ( clientdomain.example.com )

and if that's the case what will happen if client requested ( clientdomain.example.com)

Anybody who can help me in this design approach for this application will help me alot.

Thanks developers.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900