Since it is possible to link different domain names to the same webserver, is it possible to detect which address [can be the ip address] a client entered to access a website, so it is possible to implement conditions depending on this value?
I’m maybe totally wrong about the multiple domain names. I don’t know a lot about dns and domains.
You can see it in the HTTP
Host:header. For example, if you’re running a PHP script, you can see it in$_SERVER['HTTP_HOST'].