Problem access by public ip address in same network

Discussion in 'Installation/Configuration' started by smanettone, Aug 24, 2018.

  1. smanettone

    smanettone New Member

    Hi Everybody,
    I have installed Ispconfig on Debian 9 (by yours tutorial) and it's work well.
    If i view my website from external network, it's all ok but if i would access from same subnet (ex. mi smartphone 192.168.1.3) i can't access it.
    I view only ispconfig gui if i enter in my browser https://private_ip:port
    Server internal ip: 192.168.1.5
    subnet: 255.255.255.0
    Gateway: 192.168.1.1

    On router i have dmz to server ip

    my question is:
    This is a problem of my webserver configuration? router loopback? or let's encript cert? i have a router of my ISP (Vodafone) and i can't change it, can i setup my server to show my website inside and outside my network?

    Tnx for reply and sorry for my English.
     
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    For viewing your websites via local network you will need to set your device hosts file to point the websites to your local ip.

    Though some modern router like the one I am using may not need any changes to be made to device hosts file if it is properly configured with the right settings.

    By the way, it is not advisable to put your server on dmz as it is always safer to use port forwarding feature in your router to point to your server opened ports.
     

Share This Page