URL for a server on my LAN

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
James Cook
-


Joined: 13 Oct 2018
Posts: 13
Location: Michigan USA

PostPosted: Fri Jan 29, 2021 2:22 am    Post subject: URL for a server on my LAN Reply with quote

I have a server that is online to receive and process hits from outside. Port forwarding on my router is set to forward incoming port 80 hits to it.

On my local network, I have another machine that I'm using to work out configurations for a cgi app. I can work on that machine itself and process hits perfectly using an edited hosts file and URLs like rnd.local. What I've been unable to accomplish is hitting it from another machine on the local network.

The local IP address is 192.168.50.246 and that gets me an Abyss 403 error, so I'm reaching the machine and Abyss. But I can't get any further and hit any of the sites on it.

Any ideas of what modification to the URL would do it?
_________________
Jim
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1295

PostPosted: Fri Jan 29, 2021 10:48 pm    Post subject: Re: URL for a server on my LAN Reply with quote

James Cook,

Before DNS was invented in the mid-80s, network admins connected to ARPANET used to share the HOSTS file updated with new entries and their IPs.

You still can use the same idea on your local network in 2021. :)

So create a hosts file with a line such as:

Code:
192.168.50.246  rnd.local


Use that same hosts file on all your computers in the local network. Now declare a host in Abyss Web Server with the host name rnd.local and access it using http://rnd.local .
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
James Cook
-


Joined: 13 Oct 2018
Posts: 13
Location: Michigan USA

PostPosted: Sat Jan 30, 2021 5:05 pm    Post subject: Reply with quote

Worked like a charm. Thanks!
_________________
Jim
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group