Raise the server at home in Denver via the D-link dir400 router

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

There is a website in Denver "project.ru" Today I took a static ip address, and now I want to make it so that this address can be used to access the project in Denver.

All that turned out to be done, to register in the router in port fordwarding - a new static ipishnik, ports 80-80, tcp, and now at this address at least goes to the page of my router, at first it does not go anywhere at all velo.

And how to transfer the IP address to the project now? My head is already spinning from the number of reread manuals...

Author: Denis Masster, 2013-02-05

5 answers

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

 1
Author: PocketSam, 2013-02-07 10:09:13

As stated by the authors of the posts above, it is necessary:

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

Something like that...)

 1
Author: Zerglyn 1, 2013-02-08 07:12:22

Let's say the address of your typewriter, where Denver turns 192.168.0.10
Then:

  • As already mentioned, you register your white IP as the address for the domain name

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

  • in the home folder of Denver, create a 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. In the Denver documentation, this IS WRITTEN IN CAPS

 1
Author: skykub, 2013-02-15 16:31:15

Try adding your local host to the DMZ in the router. There, all ports must be opened directly to external requests.

 0
Author: Денис Проскурин, 2013-02-07 22:59:54

Port forwarding is not done like this! If the router has a port for management-80, then the forwarding should be done 80 (internal) - 8080 (external). That is, in the router, forward everything that comes from the external 8080 to the internal IP, port 80. You can also do the opposite if you select a port, for example, 8080, to control the router. Then the 80th external can be mapped to the 80th internal, and the router control can be mapped to the 8080. I hope you didn't explain it too confusedly.

Here you need to understand that port forwarding - this is a way to reach the internal resources BEHIND the router. Therefore, in the router, a certain port is bound to a certain internal resource. Matching ports and resources is port forwarding.

 0
Author: areshin, 2013-02-16 18:46:26