when we connect to interbase
we will use the ip address of the database server, such as www.mydomain.com
$databasehost = "www.mydomain.com:c:mydatabase/mydatabase1.gdb";
$databaseusername = "me";
$databasepassword = "helloworld"
if ( !$databaseconn )
$databaseconn = ibase_pconnect( $databasehost, $databaseusername, $databasepassword );
my question is could this database server doesn't connect to the internet directly but connecs to the web server in a local area network. and web server connect to the internet directly.
how will it work?
or use a router?
if the co-hosting company doesn't charge me for the physical space i use, i can put two machines there. if the web server is the only one connect to the internet, and the database connect to the web server locally, it might be just one fee charge.
besides, it will be more safe for the database server not connect to the internet directly?
thanks