Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


asianbro

47 posts

Geek


#196614 6-Jun-2016 19:07
Send private message

Hi all,

 

I'm running a server at home and let say it has an internal IP address of 192.168.1.100. The external (static) IP address is 222.154.230.200. Let say if I host mywebsite.co.nz in that server.

 

At the moment every time I'm at home, I have to change my hosts file to point mywebsite.co.nz to the internal IP 192.168.1.100 and every time I'm not home I need to remove that from the hosts file which is a pain.

 

I want to make this automatic and the only way I know how is to run a DNS server and set the router to use that DNS server. 

 

But I'm thinking if there is an easier way to do this? There is this thing called 'Static Routing' and I'm wondering if that's exactly what I need?

 

 

 

Click to see full size

 

 

 

Many thanks,

 

Asian Bro


Create new topic

This is a filtered page: currently showing replies marked as answers. Click here to see full discussion.

sbiddle
30853 posts

Uber Geek
+1 received by user: 9996

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #1566701 6-Jun-2016 19:18
Send private message

The feature you want is called hairpin NAT. Most routers don't support it.

 

 


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.