LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-21-2013, 02:13 PM   #1
linutzy
LQ Newbie
 
Registered: Jul 2005
Posts: 18

Rep: Reputation: 0
Doing it the Correct Way - 2 Servers 1 for the DB the other Web Server


Hello All;

First, I did a google search, but couldn't find the details required.

I have two debian machines (stable) and would like one to host Web Pages while the other is used only as a DB. Is there a tutorial available to do this. I'm able to do this with one computer, but would really like one dedicated only as the DB. I know they have to connect to each other, I'm just wondering the process involved.
 
Old 02-21-2013, 02:32 PM   #2
pintooo15
Member
 
Registered: May 2004
Location: on the interwebz
Distribution: linux mint 13/sled 11 sp2
Posts: 76

Rep: Reputation: 21
1. you need a network in the easy case of which you would have both servers on the same LAN subnet
2. replace all references to localhost db connections on the web server with ip address or hostname of the db server
3. check where and how things are behaving differently, make changes. you will have specific queries about your setup.
4. find which port needs to be listening on which server.
5. browse test site. submit forms. do the drill (usual CRUD stuff)

Most importantly stick with web server and db software that you are most comfortable with. Keep the learning to the network architecture to begin with.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Web browsers cannot open the local web servers? shams Linux - Networking 4 08-24-2012 01:14 AM
Correct Fetchmail with IDLE and multiple servers config Nerd2 Linux - Software 2 06-18-2012 06:41 AM
Mail/ftp/web servers, on VIRTUAL!! dedicated server. Also resource usage. Centos 5. newn Linux - Software 4 07-08-2010 03:55 PM
upgraded servers, is RAID1 correct?(CentOS 5.1) ncsuapex Linux - Server 4 05-27-2008 10:06 AM
adding more web servers to make web server farm linuxboy69 Linux - Networking 5 07-09-2004 10:50 AM


All times are GMT -5. The time now is 06:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration