troubleshooting Question

Multiple domains, multiple databases with only one script

Avatar of Marshall2056
Marshall2056 asked on
Apache Web ServerWeb ApplicationsLinux Networking
5 Comments1 Solution286 ViewsLast Modified:
Hello all,

i need create multiple (sub)domains on one server (linux) but.. i want all domains read same script location (for example /var/script/index.php...)

lets say :


when u come to u get login page where u can chose (sub) domains, and when u chose sub domain, enter user and password then click on login button u will be redirected to selected domain, you will be using db_one config and u will be logged in (if all info are good - user, pass).

so my final question is :
is this posible to have one script and using this one script in multiple domains/subdomains and how ?


PS. sorry for my bad english :S
Sebastian Talmon
System Administrator

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros