NTS Forums

Please login or register.

Login with username, password and session length
 

News:

Welcome to the Newtek Technology Services Forum!


Author Topic: Linux Dedicated Server - 2 IPs  (Read 7353 times)

Offline tej

  • Hosting Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Linux Dedicated Server - 2 IPs
« on: July 12, 2007, 02:58:53 PM »
We are trying to set up and configure a new Linux dedicated Server. And we have a few questions
 
1.   We have 2 IPs  one for the box and one for our site.  We assume that both the IPs point to the same box
and we configure Apache to redirect the IPS appropriately.  Is that correct?
If so we then can have 2 document roots.
 
2.  We want to install the phpMyAdmin it states to install it in "your webserver's document root"
Can we install it under our machines IP document root then point to it with our web application?
 
3.  We want to upgrade PHP to 5.  Where is the best place to install it

Thanks in advance.

Offline ZootSuitRyan

  • Hosting Newbie
  • *
  • Posts: 37
  • Karma: +6/-2
Re: Linux Dedicated Server - 2 IPs
« Reply #1 on: August 29, 2007, 10:32:18 AM »
1. You can have any number of DOCUMENT_ROOTs because those are dependant on how many Virtual Hosts you have set up.  I would use one IP address strictly for accessing/managing the server and the other for all your hosts/websites.

2. The default website DOCUMENT_ROOT is "/var/www/html" but you can put phpMyAdmin in wherever directory you want.  Just make sure your environment variables are correct in the config.inc.php script.

3. Either use Webmin to install the RPM (System > Software Packages) or use YUM in the command prompt (Putty).

DThompson [CT]

  • Guest
Re: Linux Dedicated Server - 2 IPs
« Reply #2 on: September 06, 2007, 03:01:49 AM »
1. You can have any number of DOCUMENT_ROOTs because those are dependant on how many Virtual Hosts you have set up.  I would use one IP address strictly for accessing/managing the server and the other for all your hosts/websites.

2. The default website DOCUMENT_ROOT is "/var/www/html" but you can put phpMyAdmin in wherever directory you want.  Just make sure your environment variables are correct in the config.inc.php script.

3. Either use Webmin to install the RPM (System > Software Packages) or use YUM in the command prompt (Putty).


Also by installing it in "/var/www/html" Most instructions and such already asume that you do this.  Just helps setting something up the standard way, when it's new to you.