Guys, good evening. The situation is this, there is a Denver and there is a d-link dir 400 router.

On Denver there is a site "project.ru" Today I took a static ip address, and now I want to make it so that at this address it was possible to enter the project on a denver.

All that was done was to register in the router in port fordwarding - a new static ip address, ports 80 - 80, tcp, and now at this address I visit the page of my router, at first they didn’t go anywhere at all.

And how to translate now aypishnik to the project? Already the head is spinning from the count of re-read manuals ...

    5 answers 5

    It is enough to add a type A record to your DNS indicating your IP. You can use to start some free service. For example, http://freedns.ws/en/

      As stated by the authors of the posts above, you need:

      1. Register your domain to your EXTERNAL static IP
      2. Add INNER IP host with site in DMZ OR
      3. In the router, forward port 80 to the INTERNAL IP of the host with the site, subject to the availability of the site name in the request.

      Something like this...)

        Suppose the address of your machine, where Denver turns 192.168.0.10
        Then:

        • as already said, registering your white IP as an address for a domain name

        • On the router, you forward port 80 to port 192.168.0.10 80

        • in the home folder of Denver you create the folder 192.168.0.10 and copy the www folder there

        Additionally, I want to say that Denver is intended only for testing, but not for the operation of a real site. The Denver documentation is CAPSOM WRITTEN

          Try to add your local host in the DMZ in the router. There all ports must be open directly to external requests.

            Port forwarding TAK is not done! If the router has a port for management - 80, then the forwarding should be done 80 (internal) - 8080 (external). That is, in the router you can redirect everything that comes from the external 8080 to the internal IP, port 80. It is possible and vice versa if you select the port to control the router, for example 8080. Then the 80th external can be displayed on the 80th internal, and the management of the router - 8080. I hope, not very confusedly explained?

            Here you need to understand that port forwarding is a way to reach internal resources behind a router. Therefore, in a router, a specific port is bound to a specific internal resource. Compliance of ports and resources - and there is a port forwarding.