Access local web server with custom domain from local network

I’m developing a WordPress site that I want to test on real (not simulated) mobile devices.

Since the WP site has a custom URL as configured in my /etc/hosts like www.wordpress-site.local, I can’t directly access it from my mobile devices, even from within my own network.

Is there any way I could expose / forward traffic from e.g. my local ip or localhost to www.worpress-site.local?

Thanks!

Read more here: Access local web server with custom domain from local network

Leave a Reply

Your email address will not be published. Required fields are marked *