Reputation: 3918
I have created virtual host example.local in ubuntu.
I want to open it from another computer on the network. How can I do that?
I can open websites in /var/www/html using my ip: http://11.22.33.4/example
But how can I open http://example.local from another computer?
Upvotes: 0
Views: 113
Reputation: 202
Create a DNS route to your server ...
In your hosts file:
11.22.33.4 example.local
You find your hosts file here:
Windows: %SystemRoot%\system32\drivers\etc\hosts
Linux / MAC: /etc/hosts
Upvotes: 1