Hello, I have to different domains that I'm pointing to the same host. Till here everything is ok, but i want to do smth else and I'm not figuring it out. Lets say that i have www.domain1.com and www.domain2.com I want to do that when a user enters www.domain1.com the logo of the site to be DOMAIN1 logo and the template1 (THEME) and when another user enter www.domain2.com the logo and the template of the site to be different from the www.domain1.com There are many sites out there that are build like this, anyone have any idea how can i do this too. If yes, can i do this with CMS's like Wordpress, Joomla or Drupal... Thnx in advance...
Copy the site and create a new directory, then point domain2 to this new directory. Then just make the neccessary changes. Thats only if theres no database involved.
No, it will be database involved. beside this it will be involved even comments. So when a user comments on site1 this comment will show even in site2 Thx for ur reply.
Yeah, a simple if($_SERVER['SERVER_NAME'] == "www.domain2.com") { $image = "image2.png" } else { $image = "image1.png" } would do you justice. You can interpolate the extra data as necessary. PHP is your friend