Run single php code using multiple domains
Posted
by Acharya
on Server Fault
See other posts from Server Fault
or by Acharya
Published on 2010-05-01T13:03:45Z
Indexed on
2010/05/01
13:08 UTC
Read the original article
Hit count: 227
Hi all,
I have a php code/site at xyz.com. Now I want to run the same site using multiple domains means when somebody open domain1.com, domain2.com ,domain4.com, so on urls, it should run the code/side that is at xyz.com
I know one way to do this. I can host all these domains to the server where xyz.com is hosted so all domains will point to same peace of code/site.
n above solution i need to hosted the domains manually. Is there any other way to do this as I want to add domains dynamically?
Thanks in advance!
© Server Fault or respective owner