Forum Moderators: phranque

Message Too Old, No Replies

How do I setup Database server?

         

BravoTwoZero

8:36 am on Sep 23, 2003 (gmt 0)

10+ Year Member



Hi,

Thank you for reading the post. I have a webspace with 1&1 web provider but I want to host database in my office for sensetive information and security reason. My understanding is that I need to have a dedicated IP and a business line just to connect into my database. My asp code in 1&1 will just connect the database to my SQL server. Is that Possible? If so what is the process involved doing that?

I am most grateful

txbakers

2:05 pm on Sep 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, you are correct you will need a static IP address so the webserver can find the database server over the internet.

You could set up an ODBC connection from the webserver pointed to your new IP, or you might be able to do it without the ODBC, I never tried it.

HOWEVER, I would strongly caution you to reconsider sending the data back and forth across the internet. That would necessitate having the database open to the internet, and it would be very easy for someone to break in and delete your data.

jpjones

2:34 pm on Sep 23, 2003 (gmt 0)

10+ Year Member



I would also recommend hosting the db server in your office.
The latency between the web server and the db server will slow down the apparent speed of your web site dramatically.
As the security aspect of this set up is also something you should consider carefully. Having your sensitive data flowing back and forth across the net, open to sniffing, is a no-no.

JP

plumsauce

4:10 am on Sep 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




There are arguments for either approach.

However, you can use encrypted tunnels
for the backend communications.

You can also firewall the entire setup
properly. ie, necessary ports only,
accept connections only to and from
the correct addresses.

Done properly, security is no more of
a concern than hosting it at the data
centre.

Latency is still an issue of course.

+++++

BravoTwoZero

10:02 am on Sep 24, 2003 (gmt 0)

10+ Year Member



Thank you very much you all for your kind replies. I am thinking of setting firewall in the fast instance. I am slightly concerned about data travelling over the net. As you mentioned any body can sniff in. Would https or SSL certificate will help? How about com object?

Much Appricated for your time.

Bravo

davegerard

4:01 am on Sep 25, 2003 (gmt 0)

10+ Year Member



You might as well host the whole darn thing in-house. Nowadays you don't need much. Windows 2000 comes with Internet Information Services that will serve up a single site (For multiple sites you'd need Win2k Server or something like it). Speed will be greatly improved by having the database on the same network as your site. You can pick up a firewall/router box for about $160 at any computer store, even Best Buy. You may consider some additional firewall software for around $40. The nice thing is that ALL of your machines behind the firewall use local IPs and are not directly connected to the outside (not exactly that is).

The only thing you might want to think about outsourcing is the DNS. Unless you'd like to set aside a simple and inexpensive machine for that. I've experienced some problems resolving IPs while trying to run DNS from behind a firewall and opening Port 53 for DNS requests, but outside the firewall works great. You'd of course need another IP for that if you do it yourself, but it's a pretty easy setup. DNS software, about $100 for a single machine. Most ISPs charge around $15-$20 per month for a block of 8 IPs (5 usable to you).

Go for it. You won't regret it.

plumsauce

5:05 am on Sep 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




A note of caution.

Windows 2000 Pro has a 10 connection limit.

davegerard

7:54 am on Sep 25, 2003 (gmt 0)

10+ Year Member



Guess I didn't know that. I use Win2k Server. Thanks for the tip.

BravoTwoZero

8:26 am on Sep 26, 2003 (gmt 0)

10+ Year Member



Many Thanks Guys,

I realy looking forward to setup the server. I also have home server not connected to internet though. I have a good book about the server setup and that should work for me. Thanks again for all of your help.