I would like to use one script, and domain domains... IE: www.domain1.com/script.php and if i want to run the same script with www.domain2.com/script.php is this possible? forwarding will not work as domain2.com would just be forwarded to domain1.com. parking domain2.com on domain1.com does not seem to work, when I try domain2.com/script.php it just redirets to domain1.com and does not load the script... I am thinking about starting a business using two appropriate domains, and would like to access just one script, and not having two complete domain sites... Thank-You
This really belongs in like the programming forum or something... but yes, I think you can. They would probably need to be hosted on the one computer and use the one database.
One possible way is to use url forwarding and masking. This way in the browser's address bar will stay domain2.com But I'm not sure that using two domain names is a good idea. I would rather use a forwarding without masking in order to make the users familiar with one of the names and make it more "powerful".
The simple way is to check your script and don't use absolute url like domain1.com. If you need the domain name, you can use $_SERVER['REQUEST_URI'] in php. Then Parking domain2.com on domain1.com for example with Cpanel