I am running a development environment with WAMP and hosts file modified accordingly, such as
I'd like to allow users over the Internet to be able to access the site using a public IP address (assigned by my ISP)..... ** BUT ** currently Apache is configured to point to
127.0.0.1 along with other names always pointing to
mylocalwp BTW), by means of vhosts.....
For instance, hosts file has:
::1 localhost 127.0.0.1 localhost 127.0.0.1 tglocal 127.0.0.1 mylocalwp 127.0.0.1 anotherwp
Then Apache vhosts.conf has multiple entries like:
</VirtualHost> <VirtualHost *> DocumentRoot "E:\Users\myuser\wordpress\mylocalwp" ServerName mylocalwp <Directory "E:\Users\myuser\wordpress\mylocalwp"> Order allow,deny Allow from all </Directory> </VirtualHost>
I'd like to open the firewall and setup traffic from port 80 to local IP address where WP is running (WAMP server), however I'am afraid it won't work as WP's settings hold
http://mylocalwp as the base URL.
Is there a way to trick this?