Share This:

Okay so a week has gone by with your server. Now you just got this E-Mail from your brother saying that he is going to the IP address in his browser and he can’t see your site. You assure him it’s working. But then you decide to investigate after several other emails saying the same thing from other people.

You type your Internal Servers IP address into your web browser on your network. It appears fine. So next you type in the external IP address and you see what the fuss is about. The site isn’t their. This is because we did make our internal IP address static. However we have little and no control over the external IP Address that our ISP company gives us. We could purchase a static IP address from them. But this becomes quite pricey.




Lucky for us their is in fact an alternative. In fact their are a few alternatives. But I will only talk about one of them. This alternative is called No-IP. Pretty much what it is is a domain name registrar that issues domain names specifically for people who have servers with Dynamic IP addresses.

Currently No IP works with Windows, Mac OSX and of course Linux. Not only that but No IP 2 is in the Fedora Repos. So we can easily install it using YUM. But before we install from the Fedora Repo’s we need to go to the No IP site and setup an account. And get a domain name. They offer free domain names. Which are actually a list of domain names where you can get a sub domain from. Or you can purchase a domain name from them. Keep in mind that since they offer Dynamic Domain Names for Dynamic IP address they are little more expensive then your average domain name.

Once you have signed up to No IP you will be able to install No IP onto your server. To do this we will issue the following commands on our server.


yum install noip -y

This will install No IP from the Fedora Repo’s. Once it is installed we will need to configure it. To configure No IP on our server we will type the following commands.


noip2 -C

The above command will output the following.


Auto configuration for Linux client of no-ip.com.

Please enter the login/email string for no-ip.com

It should be obvious that you should type in the E-Mail address that you used to login to the No-IP site. But if it isn’t type it in here. After that you will see the following.


Auto configuration for Linux client of no-ip.com.

Please enter the login/email string for no-ip.com [email protected]
Please enter the password for user '[email protected]'

Here you will enter the password that you use to login to the No-IP site. Next you will see the following.


Auto configuration for Linux client of no-ip.com.

Please enter the login/email string for no-ip.com [email protected]
Please enter the password for user '[email protected]' ************

Only one host [HOST.no-ip.org] is registered to this account.
It will be used.
Please enter an update interval:[30]

If you have more then one domain with No-IP and plan to setup multiple servers using No-IP you may see something slightly different. But that is pretty much. By default No IP checks a change in the IP address every 30 minutes. You can make this more frequent or less frequent by typing in the how often you want it to check in minutes. If 30 minutes is okay for you then you can leave it as it is and press Enter. After you have pressed Enter you will see the following.


Auto configuration for Linux client of no-ip.com.

Please enter the login/email string for no-ip.com [email protected]
Please enter the password for user '[email protected]' ************

Only one host [HOST.no-ip.org] is registered to this account.
It will be used.
Please enter an update interval:[30]
Do you wish to run something at successful update?[N] (y/N)

Most people will usually tell No IP not to run something after an update. But I get extremely concerned about such things. So I usually have it restart some things. For example apache. If we want it restart Apache we first press the letter Y followed by pressing Enter. Then No IP will ask us what command we want to run after it updates. This is where we type our restart command. Which looks like the following.


systemctl restart httpd.service

If we want to restart several things we will put all of the commands into shell script and tell No IP to run the shell script after it updates.

After we typed our command. We pres enter. No IP will display the following.


New configuration file '/etc/no-ip2.conf' created.

No we need to verify if No IP is running. We can do this by typing the following commands.


service noip status

If No IP is running we will want to type the following commands.


chkconfig noip --add

Which adds No IP to the various services we have set to run. Now we will set it to run when the server starts up. To do this we will type the following.


chkconfig --levels 35 noip on

Now we want to see if the above commands worked as planned. To do this we will type the following commands.


chkconfig --list | grep noip

If it worked as planned you should get the following output.


noip 0:off 1:off 2:off 3:on 4:off 5:on 6:off

If you get an output that is different then the above you did something wrong.