I uploaded my code files to example1.com and pointed another domain example2.com also to example1.com, both are showing the same content now.
Now I need to have a condition to make changes according to the domain that is being requested. How can I get it in PHP, I have seen the values in $_SERVER
variable, but it couldn't help.