Obviously, the "localhost" box has the mysqli extension to PHP installed. Does the server at 50.98.141.10 also have this extension installed? (hint: <?php phpinfo(); ?>)
If mysqli is installed on the remote server, you should use mysqliblahblah() everywhere. No mysqlblahblah() is required, needed, or even wanted.
Next, look at the signature of the [man]mysqli_connect/man function:
$link = mysqli_connect($host, $user, $password, $database_name); //the name of the database is given in the function!
So, there's never any reason to call [man]mysqli_select_db/man in PHP unless you're switching from one database to another in the same script. Note also that [thread=10395565]over here in this thread[/thread] we're talking about how we typically make multiple connection variables or objects to connect to separate databases (a tad more advanced subject than what we're discussing here though).