Problem accessing anything using hostname on internal network
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Business
- :
- Problem accessing anything using hostname on inter...
Problem accessing anything using hostname on internal network
06-06-2017 11:47 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hello,
I am a business customer and have some IP cameras and a web server located in my office. However, if I try to access any services using my hostname (myname.plus.com) while I am on the office wifi/cabled connection I cannot access them.
For example, the IP cameras just refuse to connect.
The webserver seems to connect to something internally as it returns this error (which is not being generated by my web server, so me thinks it is coming from plus net): 403 forbidden, illegal referrer.
If I enter my hostname or fixed IP address it brings me to to the home of the router (a TP link one). What would be stopping my machines reaching the correct services? I presume the router if diverting the traffic to itself on the internal network, but not really sure. Any help is appreciated?
I must add, I can access everything grand externally, just not internally using my static IP address or hostname.
Many thanks,
Graham.
Re: Problem accessing anything using hostname on internal network
06-06-2017 1:38 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Can you access the services by using IP and port number when on the internal network?

Re: Problem accessing anything using hostname on internal network
06-06-2017 2:05 PM - edited 06-06-2017 2:05 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hello @medialinx, and welcome to the forums.
To access anything on an internal LAN using an external address you need to resolve that address locally. So if your web server in on 192.168.6.123, and a public IP of 123.123.123.1 and a web URL of http://mysite.com then you need to resolve that address locally to be 192.168.6.123 and not the public one. Most routers don’t like doing what is called double NATting as it makes them sick.
If you’re running Windows you can edit the hosts file found in C:\Windows\system32\drivers\etc with an entry of:
192.168.6.123 mysite.com
The same logic can be applied if you're running Linux / Mac but edit the /etc/hosts file instead.
Re: Problem accessing anything using hostname on internal network
06-06-2017 2:07 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hey Mook,
Thanks for the swift reply 🙂
I have already updated the hosts file as a work around, but that still doesn't fit the Android devices I have (for example for the CCTV system). Do you know of an Android work around that doesn't require rooting a device?
Many thanks,
Graham.
Re: Problem accessing anything using hostname on internal network
06-06-2017 2:21 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
What you need is a router that supports NAT loopback https://en.wikipedia.org/wiki/Network_address_translation#NAT_loopback . What model router do you have ?
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
Re: Problem accessing anything using hostname on internal network
06-06-2017 9:38 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
There are lots of ways to resolve this but none of them involve a cheap PoS ISP provided router.
Given you are running a web server, depending on exactly what platform it is, you may be able to add a forward DNS service to it and resolve your private addresses on the LAN [split horizon].
Re: Problem accessing anything using hostname on internal network
06-06-2017 9:53 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Here's another list of routers supporting NAT loopback, the Plusnet Hub One also supports it.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Business
- :
- Problem accessing anything using hostname on inter...