On the machines inside your house, you’d edit the hosts file to add a line like
192.168.0.10 mydomain.com www.mydomain.com
https://support.rackspace.com/how-to/modify-your-hosts-file/
And in settings->general, you’d make your site mydomain.com.
It didn’t worked… Any other idea?
-
This reply was modified 6 years, 11 months ago by
augustolf.
What do you mean by “it didn’t work”. What happens?
I’ve lost my inside access (inside my home) and now it is only available outside of my house network
If you go directly to the IP address, does it work from inside your home?
Note: Putting a web server on your home network that is outside-facing is NOT a good idea. If your site gets hacked, the hackers are inside your firewall. Just sayin’.
When in the settings (Options->General) I put my domain I can only access my website from outside my home and when I change it to the local IP address I only can access it from inside my house. So what i want to do is basicly add both addresses so that I can access inside and outside my home.
I have a home server and the only port openned is the HTTP for the server, is that a security problem?
What exactly did you put in the hosts file?