| |
| Welcome |
Welcome to InfoHub.
You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!
Our community is always looking for someone like you to share your thoughts! |
| View previous topic :: View next topic |
| Author |
Message |
Vicious88 Site Admin

Joined: 28 Sep 2007 Posts: 646 Location: NW Florida
|
Posted: Sat Sep 29, 2007 3:16 pm Post subject: Creating a Dynamic DNS via No-IP.Com |
|
|
Required computer Skill Level: Noobtastic
Hello and welcome to yet another Vicious88 Guide. In this particular guide I will walk you through creating you very own Dynamic DNS. Dynamic DNS addresses have several advantages, as you're probably already aware of since your reading my guide. If not, however, I'll elaborate.
With the help of a Dynamic DNS, you can setup your computer/server for access from anywhere in the world, without having to memorize your ever changing and endlessly complicated IP address, or be limited by a simple Internal Network IP. If you don't know what I mean, try drifting over to http://www.whatsmyip.com and looking at the IP shown for your computer. You'll see that it is something like (just to make one up) 74.153.261.54 - which is one digit harder to remember than your social security number. So needless to say, its not something you really want to try to give to your friends so they can log into your homebrew website or private game server. Instead, you'll want to give them something easy to memorize. Lets suppose for just a minute that your name is Chuck, with the help a Dynamic DNS, you can just tell your friends to log into Chuck.Servegame.com or something similar to that. Okay Chuck, lets move on...
The Account
You WILL need to create an account at http://www.no-ip.com in order to have a Dynamic DNS through their services. Don't worry, its free. Sure they have fancier services that cost a few pennies here and there, but for most every purpose, the simple free account will do. Lets create that now, shall we?
Firstly we'll need to go to http://www.no-ip.com/newUser.php and create your fill this in with the information you wish to use while creating this account. Don't just fill it in with random crap, because you will actually use this account frequently. So make sure the password is something you can remember.
Once you've created the account, a confirmation email will be sent to the email you provided. The confirmation email will include a link that you must click on to verify your email address. If you are unable to click the link due to your browser or mail provider, than you can copy (Ctrl+C) and paste (Ctrl+V) it into your browser's address bar to activate your account. Once that is done, move on to the step below...
The DNS
So you've just created your account and you're feeling good. Its all easy so far, right? Well now it gets tricky - now you have to log in. Don't worry, its not going to eat you, just type in the email address you used when creating your account and the password you entered and click login (advanced users can press Enter).
Okay, sarcasm aside, you should now be looking at a very important screen - the "Your No-IP" menu. Hooray for making it this far, but we're not quite done... To the left of your screen you should see a menu containing several options beneath the words "YOUR NO-IP". The first tab in this menu is called "Hosts / Redirects" and should already be open, but if its not, you can click on it once to open it.
Now right below the words "Hosts / Redirects" you should see an option called "Add" - open it and you will find yourself looking at a new page. This new page will boast the words "Add a Host" near the top, just to the right of a blue blip. Below it is a sentence that expresses the obvious and two boxes, one entitled "Hostname Information" and one entitled "Mail Options". The greatest thing on this page is that you will only have to mess with two things to get up and running - you can completely ignore the "Mail Options" box. In fact, Chuck, all you'll need to really do is put in a unique screen name, for instance your afterdawn screeny into the text box next to "Hostname:" and select an address from the drop box below... For instance, lets just say you enterd "chuck" as the hostname, and then selected servegame.com from the drop-down list - PRESTO!!! All you have to is press create and you've made Chuck.Servegame.com - woot! When you press the "Create Host" button at the bottom of the form, you'll be transfered to a screen that informs you that the host resolving to your IP address has successfully beeen added and may take up to 5 minutes to become effective. I hope you are patient enough to wait 5 minutes... And if not, there's still a bit more work to be done...
The DUC
The DUC is short for The Dynamic Update Client. This is a handy little tool that you can download in virtually no time at all and get set up on your home or laptop computer. What it does is connect your computer back in with the NO-IP servers to check for any changes in your IP address. On a desktop it won't change as often, but on a laptop, you will change IP everwhere you go.
Looking at the screen telling you all sorts of crap about waiting 5 minutes, you'll want to click on the tab at the top reading "Downloads" and then click the Icon of your operating system on the following page. Now you're looking at a page containing a link to a download, hosted at downloads.com so as not to snatch all precious bandwidth from NO-IP... Click on it and download the program. Save the installer and run it. Once thats installed, if it doesn't open up automatically, open it yourself.
You'll need to log into the program just like you would log into the website. If you toy with the options you can configure it as a Windows Service and it will start up every time your computer is on, even without putting a icon in the task bar.
The Farewell
You should know really quickly that I am NOT affiliated with the awesome people at NO-IP. Nor am I a Moderator of any kind, other than on my own servers. So if you have a problem, which you shouldn't, you can take it up with me directly, not the folks here at afterdawn or at NO-IP.com - thats just the way I work. That being said, good luck and enjoy the benefits of a Dynamic DNS address. Farewell...
|
|
| Back to top |
|
 |
flozz Uploader

Joined: 22 Feb 2008 Posts: 290 Location: UK
|
Posted: Sun Mar 16, 2008 3:50 am Post subject: |
|
|
i tried it i dont think it worked _________________
|
|
| Back to top |
|
 |
Vicious88 Site Admin

Joined: 28 Sep 2007 Posts: 646 Location: NW Florida
|
Posted: Sun Mar 16, 2008 11:45 am Post subject: |
|
|
Well, what exactly are you trying to use it with? Perhapes I could help if I knew a bit more about what was being done... Because without knowing anything I'd have to suppose that you're no-ip dynamic dns program is having its ports blocked by your router. _________________
Ah, Signature Changes...
|
|
| Back to top |
|
 |
f0rzak3n New User
Joined: 07 Jul 2008 Posts: 1
|
Posted: Mon Jul 07, 2008 11:01 am Post subject: |
|
|
| how i use that to host a server?
|
|
| Back to top |
|
 |
Vicious88 Site Admin

Joined: 28 Sep 2007 Posts: 646 Location: NW Florida
|
Posted: Mon Jul 07, 2008 6:22 pm Post subject: |
|
|
If you're hosting a server such as a runescape server or a World of Warcraft server, it should automatically work and everything be just fine unless you are on a network or the ports on your computer are blocked.
IF YOU ARE BEHIND A NETWORK:
If you are in a home or business where multiple computers share a connection to the internet, then you are part of a network.
Being part of a network means that your DNS forwards users to your Router. It also means that your router will refuse to forward ports without your indidividual configuration (because it doesn't know where to forward them to). So, what I'll be showing you here is how to set up Port forwarding within your Router.
First, lets pull up Command Prompt. This can be accessed by typing in "CMD" in the Run window and pressing enter. When the Command Prompt opens, it'll look a lot like good old DOS. Type in the command "ipconfig" and press enter. You should see information like the following appear:
| CMD wrote: |
Ethernet Adapter Local Area Connection 2:
Connection Specific DNS Suffix . :
IP Address. . . . . . . . . . . . . . . . : 192.168.1.4
Subnet Mask . . . . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . . . : 192.168.1.1 |
Now what you see above will vary a bit, dependant on your computer and place in the network. The things we need to take notice of are the numbers for "IP Address" and "Default Gateway".
IP Address will mark your individual computers location in the network. This IP does not work outside the network, so if you tell your friends across town to try logging into 192.168.1.4, you'll look pretty stupid considering that it is your Network IP.
The Default Gateway is the address of your Router on the network. We will be using that right now.
Open your internet browser and type your Default Gateway address into the address bar and press enter (or go). You should now either be prompted for a password or looking at a log-in screen for your Router.
In most cases the default username and password are something like "Admin" and "Password" or "Admin" and "Admin". If you can't find the log-in information by means of guessing, check the stickers on your router or in the book that came with it. If you still fail to log in, you may have to consult your network administrator or parent.
Once you're logged in, navigate via the menus over to your "Port Forwarding" window. This will be pretty much the same with all routers. Once in the Port Forwarding menu, review the ports that you want forwarded to your server machine. For my server, I use ports 80 (for my website), 8085 (for my WoW Server emulator), 3724 (for my WoW Server Realm), and 8767 (for my TeamSpeak server).
But for today, lets suppose you're forwarding ports 5142 (we'll say this is for "Server") and 6223 (we'll say this is for "Admin Control").
You should see an option on your Port Forward page that reads something like "Add Custom Service" click on that. Go ahead and name your service soemthing like "Server" or "Runescape Server" or "WoW Server" or whatever it is you're doing.
Under the "Service Type" field, select "TCP/UDP" if that option is available. If it's not, you'll have to find out which service type your server requires for that port and select accordingly.
Now, dependant on your Router, you will either have a box that says "Port" next to it, or you will have two boxes labeled "Starting Port" and "Ending Port". Since we only need to open one port per service, enter the same port number into the port field(s).
Finally you get to tell it which Network IP you want this port forwarded to. If your Network IP address read 192.168.1.4, then you'll want to forward the service to that computer. Some routers even have a "Forward to this computer" option.
Congradulations, you've successfully forwarded ports, but there's still a lot more to do.
Go ahead and repeat the port forwarding proceedure as nessicary untill all ports needed by your server are forwarded.
Once that's done, we need to set up your server machine and all the other computers on your network to acknowledge YOUR computer as your DNS.
We do this by going to:
| Code: |
| C:/Windows/System32/Drivers/Etc |
Once there, open the file called "hosts" in Notepad. Once it's opened you should add a line to it, beneath the existing lines, which will read similar to my example line:
| Code: |
| 127.0.0.1 Magrathia.servegame.com |
The IP address shown to the left is called "Localhost" and it always points to the computer it is on. What is to the right is an example DNS (my DNS, specifically) like any of those which you might have created with No-IP earlier.
Once that is done, click save and exit notepad.
Now to configure the other computers on the network:
NOTE: You don't have to do this if no one else on the network plans to access your server or website from their computers, but if someone DOES, you'll need to have done this or else the DNS will not work for them.
Go from computer to computer on your network and access the hosts file located at:
| Code: |
| C:/Windows/System32/Drivers/Etc |
Open "hosts" in notepad, just as you did on your server machine, except this time type the code similiar to the following:
| Code: |
| 192.168.1.4 mydns.no-ip.info |
Take note that this is an example, so make sure what you enter follows the format of:
Everything should be working for you now, depending on your server. If it's not, then the ports are being block on your server machine your firewall, so you'll want to read on...
Adding Ports to the "Okay" list of your Firewall:
Windows Firewall always got in the way of me hosting my WoW server, because it blocked my ports. So, I had two options. I could disable the firewall (not the best idea) or I could tell the firewall to ignore my ports.
We'll be doing the latter of the two today.
Now this will vary from firewall to firewall, so you may have to think outside the box to get these steps to work for your firewall, but if you're like me and Using Windows Firewall, then all will be well.
Go to "Control Panel" and make sure you're in "Classic View" (the one with a ton of icons instead of just six or seven). If you're not in Classic View, you can select it from the toolbar to the left.
The last, or second to last, icon in Control Panel should be "Windows Firewall" double click it to open it, and then click on the "Exceptions" tab at the top. Now you should have a button half way down the screen that says "Add Port". Click it.
You should be looking at a little window which will allow you to name your service, name your port, and select TCP or UDP (this window look familiar???). Fill in the data accordingly. If you don't know whether you're using TCP or UDP, add the port to the list twice (Runescape1/5050/TCP and Runescape2/5050/UDP). Once you've allowed these exceptions, tell everthing okay, and exit out.
You should be up and running perfectly, both for clients inside your network and outside as well.
PLEASE NOTE: most computers will have their network IP change upon restart or power outage. If this happens to you, your server will not work, and you'll have to adjust EVERYTHING we did in this guide to point towards your "new" network IP address. _________________
Ah, Signature Changes...
|
|
| Back to top |
|
 |
RobC1907 Co-Administrator

Joined: 05 Mar 2008 Posts: 281 Location: Canary Islands
|
Posted: Mon Jul 07, 2008 6:23 pm Post subject: |
|
|
| On a side note - welcome to Infohub!
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
 Community Chest
|
|
|