My drupal site works in local domain dev.example.com (which is configured as a virtual host).
For some reason, now I need to access the site using exactly the following address:
http://192.168.3.149/dev.example.com
where 192.168.3.149 is the IP address of the local host where the site resides.
When this address is entered, I am redirected to http://192.168.3.149/install.php
. Looks like Drupal treats this as a new domain.
How to tell Drupal to treat these two domains identically, i.e. treat http://192.168.3.149/dev.example.com
as an alias of http://dev.example.com
?