Code Help - Replacing www. with IP Number

Based on the Resolution in this thread:

http://www.webhostingtalk.com/showth...720#post732720

I want to change the line:

var b = 'forums.thesite.com';

whereby I want to replace

'forums.thesite.com'

with an IP number (i.e. 134.23.342.2)

Question 1

How do I determine the corresponding IP number? Can I use a site like http://www.samspade.org or http://www.arin.net ?

Question 2

What will the new code be?

Will it be:

var b = '134.23.342.2';

or something else?

 

 

 

 

Top