Setting Up an Active DNS to Point to a Raspberry Pi 2 With a Web Server on It

by jpeyron in Circuits > Remote Control

1461 Views, 20 Favorites, 0 Comments

Setting Up an Active DNS to Point to a Raspberry Pi 2 With a Web Server on It

active dns.jpg

This image describes the traffic flow of using an Active DNS service! Active DNS services are also refereed to as Manages DNS services as well

Choose a Active DNS Service to Use

Dyn-logo.jpg

This link will provide a list of Active DNS providers

https://en.wikipedia.org/wiki/List_of_managed_DNS_...

I choose Dyn.

How to Find You WAN IP Address to Use With the Active DNS Service

Gargoyle-WAN_IP_Address.jpg

To find the WAN IP Address

1st. Open your Web browser. Log in to the router that connects to the Internet by entering its local IP address.

2nd.The username, password and other information will be found in the documentation for the router Or online or whatever you set the login/password up to be when you set up the router

3rd. Find the WAN IP in the router's configuration.

4th. Use the WAN IP Address when setting up the Active DNS service.

I flashed a open source firmware called gargoyle on to the router i am using. A standard router will have the same information and abilities I will be talking about.

Setting Up the Active DNS Updating on the Router

dynamic dns.jpg

Setting up the Active DNS updating on the router.

1st. Open your Web browser. Log in to the router that connects to the Internet by entering its local IP address.

2nd The username, password and other information will be found in the documentation for the router Or online or whatever you set the login/password up to be when you set up the router

3rd. Find the area for Active DNS and input the Active DNS service information and domain name

The router will take care of the rest for you!

Port Fowarding

port forwarding.jpg
Gargoyle-connected.jpg

Setting up port forwarding

1st. Open your Web browser. Log in to the router that connects to the Internet by entering its local IP address.

2nd.The username, password and other information will be found in the documentation for the router Or online or whatever you set the login/password up to be when you set up the router

3rd. The Raspberry Pi 2 needed to be connected to the router via Ethernet.

4th. Find the connected devices area and copy the IP address of the raspberry PI 2.

5th. Use the individual port forwarding section and use the IP address of the Raspberry Pi 2. The choices that matter are from port which in my case was from port 80 to port 80 and the Raspberry Pi 2's IP address.

6th. This should be all you need to do as long as you have a web server installed on the Raspberry Pi 2!!!!