Help - Search - Members - Calendar
Full Version: Newbie Questions
The Planet Forums > System Administration > Game Hosting
Mr. Unknown
How do I change ip's?
I know the ip ranges to change them to but how do i change them for a particular game server..

Also, how do I make my ip: 69.25.125.23 to codhq.clanctu.com.
JustGags
What game are you running, different games have different options to bind them to an IP address. For example, running a Counter-Strike server you up add +ip 67.123.123.123 to your command line to bind it to that IP address. Others, such as UT2K4-based games you need to set in the configuration file.

In response to your question on making codhq.clanctu.com point to 69.25.125.23. You just need an add an A Record to the zone file for clanctu.com to point "codhq" to "69.25.125.23".
Mr. Unknown
Global Ops, Joint Ops, these 2 do not have binds..

So my best bet would be bind ips to the game that I can such as Call of Duty?
QUOTE
add an A Record to the zone file for clanctu.com to point "codhq" to "69.25.125.23".

sorry, i'm a complete newbie, can u break it down for me sorry, I Don't know anythign about that. or an example or something wink.gif
rabbit994
If you don't know DNS, It's hard to explain. I recommending googling about DNS and reading up on it first.
Mr. Unknown
Roger, thanks icon_smile.gif, wait does my site need to be on the computer for it to work?


==========================
The old, easy way to do this is with a hosts file. These are a unix-ism really, but exactly the same format is used on most Windows and OS/2 systems, thankfully.

Where is it?

On unix: /etc/hosts
On Windows 95: windowshosts
On Windows NT4: winntsystem32driversetchosts
On OS/2: MPTNETChosts (depending on your ETC environment variable)

What does it look like?

On my local network I have three machines:

penfold at address 192.168.1.1
dangermouse at address 192.168.1.2
taz at address 192.168.1.4
(the perceptive amongst you will have spotted that these are private addresses - yep, it's a private network with penfold as the gateway. But that's not important right now...)

So on all three machines (one runs Linux, the others boot between 95,NT & Linux) the hosts file looks like this:

# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server. Just add the names, addresses
# and any aliases to this file...
#
# For loopbacking.
127.0.0.1 localhost
192.168.1.1 penfold.blighty.com penfold
192.168.1.2 dangermouse.blighty.com dangermouse
192.168.1.4 taz.blighty.com taz

Anything beginning with a '#' is a comment.

The format is an IP address, followed by a list of hostnames.

If I want to connect to penfold I can use any of

telnet 192.168.1.1
telnet penfold
telnet penfold.blighty.com
..they're all equivalent.

This is fine for a network of a few hosts, but for anything bigger you need a more distributed system...

=================
is this how would you do it? I don't know, right now I can't log into my server cause i'm at work icon_smile.gif.
rabbit994
That's for modifying local host files? Do you run your own DNS servers?
Mr. Unknown
yes, SM gave us a 2 DNS ip address..
rabbit994
Then set up an A record.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.