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


Filter this topic showing only the reply marked as answer Create new topic
Spyware
3817 posts

Uber Geek
+1 received by user: 1366

Lifetime subscriber

  #1566692 6-Jun-2016 19:09
Send private message

No.





Spark Max Fibre using Mikrotik CCR1009-8G-1S-1S+, CRS125-24G-1S, Unifi UAP, U6-Pro, UAP-AC-M-Pro, Apple TV 4K (2022), Apple TV 4K (2017), iPad Air 1st gen, iPad Air 4th gen, iPhone 13, SkyNZ3151 (the white box). If it doesn't move then it's data cabled.




asianbro

47 posts

Geek


  #1566693 6-Jun-2016 19:11
Send private message

So the only way with this Spark modem is to run my own internal DNS server then? frown


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.

 

 




asianbro

47 posts

Geek


  #1566708 6-Jun-2016 19:39
Send private message

Thanks all


Filter this topic showing only the reply marked as answer 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.