How to configure the .hosts file so another device can access it

Issue

I saw the post https://superuser.com/questions/1523680/how-to-set-up-local-domain-name-home but I am a windows user.

So let’s say I setup my domain example.com setting it to my private Ip address.

Then my website sends to website on port 80

I can open it fine on my pc.

But I can’t open it on a other local pc on my network.
My website works just fine.
It works on my pc, just not an other on my network.

How would I do this?

Solution

As @MatsLindh pointed out in the comments, what I am trying to do is impossible without router access. They also stated that I could register a domain. Thanks for telling me!

Answered By – Spacehold

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published