CentOS 5 Networking :: Set Up Nat IP Between Webserver And Database?

May 25, 2009

I am looking for advice on a what I am sure is a very basic procedure but I have never had to set this up before and am not sure where to start.

I am running 2 CentOS5.3 boxes. I have one webserver connected to the internet and behind a firewall. I would like to set up the 2nd server (database) behind the webserver and completely inaccessible from the internet. Ideally so it can only be accessed by first ssh'ing onto the webserver and then ssh'ing from there onto the database. The webserver connecting locally to database.

From what I have seen it looks like I need to set this up using NAT but I have never done this and do not know what is involved. Can someone point me in the right direction and optimally outline the steps I need to take to hook this up? Do I need to worry about any specific hardware configuration as well?

View 3 Replies


ADVERTISEMENT

CentOS 5 :: What Needs To Be Installed For A Working Webserver/database

Aug 9, 2009

I have a dedicated server running Centos 5.2. I have a Wordpress MU site that's setup over apache 2, mysql 5, php5, and I use phpmyadmin as well. I'm able to read the database as my website appears perfectly fine, however, I can not write to it. What exactly do I need to install on my Centos sever to allow my site to interface with the database? I've used shared servers and VPS's with no problems but this just won't work. The support team seems clueless and I'm ready to ask them to reinstall my entire OS and everything else again.

View 2 Replies View Related

General :: Using The RHEL Server As Webserver And Database Centre?

Jul 12, 2011

The issue is i am using the RHEL server as my webserver and database centre. Now its a brand new formatted server with good amount of RAM and the usage is not much. Its being accessed locally over the LAN. But still i can see speed deficiency. Some of the pages do not get loaded and some times i can see the delays in loading the new pages. Any idea y is it so? Or is there anything i can do to increase the speed?

View 3 Replies View Related

CentOS 5 Networking :: How To Configure Bind When Using Dynamic Dns For Webserver

Mar 31, 2010

I am trying to configure a BIND DNS server to handle three websites on my home network, (my site, my sons site and our test site). Since my ISP uses dynamic DNS, we are using DNS2GO to redirect our traffic, 9EACH SERVER HAS IT'S OWN VERSION OF dns2go running).My problem is that I can't figure out how to configure BIND since I don't have a static IP to enter into the named.conf or reslov.conf configuration files.

View 7 Replies View Related

CentOS 5 Networking :: Configure - Set Iptables On Server 1 - To Acces Webserver From Other City

Jan 13, 2010

I am using centos 5.3 , and also using webserver in local network

Here is all configuration

1, server

eth0 , 222.80.1.90 this is live ip
eth1 10.0.0.1

2, webserver

eth0 10.0.0.2

I want set iptables on server 1 , to acces webserver from other city ,

How to configure iptables

View 2 Replies View Related

Server :: Accessing Internal Webserver From Public Webserver

Dec 18, 2009

Ok let's say I have Apache Webservers on 2 different machines within my network, I have http://outterABC.com setup at dyndns.org to point to my modem at home, and my router forwards Port 80 to the ServerA Machine (i.e. 192.168.0.3). I can access my webpage I setup for the Server A Machine.

But what I want to try and do is somehow access my ServerB machine's website that is on my same network. I tried something like this http://ServerB.outterABC.com and the apache page came up with something like the page wasn't available. I want to access the content of the ServerB website, but because I have only one router, i can only forward Port 80 site traffic to my ServerA machine's website. I'm sure it's a different syntax I should use but i'm just not sure what I should enter to bring up the apache root web page for the Server B website via http://outterABC.com

I tried setting up DNS A records on ServerA, but I don't think it will work with what i'm trying to do above.

View 1 Replies View Related

CentOS 5 :: Can Ping Webserver But Can't Load Website

Jul 29, 2010

Im running drupal on my webserver and, this morning all of the sudden I went to edit a node and now I cant load the website in my browser at all. I can ping the machine and SSH into it fine, but it will not load the website in chrome or IE, I have no idea whats going on here.

Edit: I did a 'service httpd restart', it took 3mins to restart, is this normal? After I did that it loaded once, not even all of the page, now its doing the same thing again.

Edit2: Now it seems to be working fine again...

View 1 Replies View Related

CentOS 5 Server :: How To Update Webserver Application?

Feb 26, 2011

I use VPS because when i was on share hosting. My website was hacked by hacker. Now i'm using VPS. I want to ask how to update webserver application such as Mysql, phpMyAdmin, lighttpd I use centOS 5 i386 and i use Kloxo Panel. I was already installed Mybb.

View 1 Replies View Related

General :: Setting Up Centos As A Webserver With A Domain Name Purchased?

Jul 16, 2011

I previously installed centos using DHCP. Now I purchased a domain name and want to set it up as a webserver. if I choose the static ip address based on the existing DNS server given to me by the domain company, it will ask for the subnet mask, default gateway and i do not have them.

View 6 Replies View Related

CentOS 5 Server :: Trying To Build A Webserver At Home To Run CPanel

Jun 21, 2010

Im trying to make a webserver at home. I have a static IP Address of my ISP (o2) I have built a server ( 2.8 p4HT, 2GB Ram, 500GB HDD) Just to test... But, i dont know what to do in the IP Address settings for the IPv4 ( I think thats what it is) Do i put my static IP address in my ISP gave me, or the local IP of the server ( Wich is 192.168.1.72) Im realy confused. Ive tried everything i can think of, Reinstalled the os about 40 times up to now...

View 1 Replies View Related

CentOS 5 Server :: Webserver Not Able To Ping Or Browse To One Particular Website

Nov 11, 2010

I have 4 centos5 apache webservers all on the same network, recently, 2 of the webservers have stopped being able to ping or browse one particular website where feeds are obtained from this site. I have checked and firewall and selinux settings are disabled. The two webservers are able to ping and browse other sites. Dns settings are the same for all 4 servers. traceroute for working and not working webservers are the same.

View 1 Replies View Related

General :: Centos With Apache Webserver - Change The Localhost.local?

Dec 27, 2010

I have setup a Linux Centos with apache server on it in a home network. Everything works fine. When I access the webserver I put in the address bar the IP address of the server which is 192.168.0.150 and when hit enter, it prompts the page where I have to put login information. The login information is set to: username: admin@localhost.local password: *************

It takes long time for authentication go through and load the page eventhough I am accessing the site in a same home local area network with fast ethernet connection. How can I change the localhost.local to something else like maybe [URL] instead and if I have to change settings in other files as well?

View 5 Replies View Related

Ubuntu Networking :: Webserver Not Showing Website?

Sep 15, 2010

I've actually gotten a webserver (hardy heron, server edition) working before and had a Joomla site up I could find on the net. But I did a fresh install of Lucid Lynx (desktop edition, that I added some packages to to use as a server). Between the router (wrong ip address?), port forwarding (set right?), my domain nameservers (godaddy) and the DynDNS service I use (for dynamic ip) I must have a wrong setting because, my joomla website shows up at localhost, but not 'out there' so to speak. I would like to get this site out there and working soon, as it's one I'm just doing free for a Community Garden.

View 2 Replies View Related

Networking :: Configure Bind When Using Dynamic Dns For Webserver?

Mar 31, 2010

I am trying to configure a BIND DNS server to handle three websites on my home network, (my site, my sons site and our test site). Since my ISP uses dynamic DNS, we are using DNS2GO to redirect our traffic, 9EACH SERVER HAS IT'S OWN VERSION OF dns2go running).

My problem is that I can't figure out how to configure BIND since I don't have a static IP to enter into the named.conf or reslov.conf configuration files.

View 5 Replies View Related

Networking :: Set Up A Wifi Webserver In Adhoc Mode?

Sep 3, 2010

What I want to do is have two ad hoc servers running. One ad hoc network would host a web page giving stats on all the players and other ad hoc server to host an online multi player game. This way my clan can practice in any enviroment and setting (i.e parking lot outside at a park, motel rooms) without messing with a wired network. When someone connects to my laptop through wifi ad hoc mode, how can I automatically direct them to my web page? I've search this question high and low on alot of forums and google,but could not find anything relevant. maybe I'm just not asking the question right.I'm not sure,but I also might want to port forward tcp:28960 or UDP: 28960, 20500, 20510. Which is better for call of duty 4 Modern Warfare 2?

View 1 Replies View Related

Networking :: View Local Webserver From Xp Clients By Not Using Ip?

Jul 25, 2010

Im a linux newbie and I'm some sort of creating an Internal webserver or Intranet for short locally. My local webserver ip address is 192.168.0.1 and when im trying to view this on my xp clients i will type it in the url 192.168.0.1. What im trying to do is view my webserver instead of typing ipaddress I'll type hmij.edu.ph for example and trying to resolve it locally through local dns resolution.. so every time i type for example. my webserver name hmij.edu.ph i want it to redirect it to my local webserver w/out going to the internet first.. I already setup dnsmasq for dhcp and dnsclient resolution. is there any better way on how i can achieved this??im a little bit of confused on how to make this work. tnx in advance!

View 13 Replies View Related

Networking :: Database Error: Unable To Connect To Database:The MySQL Adapter "mysql" Is Not Available

Jun 16, 2011

I've setup a CentOS apache web server, and loaded a site onto it. The site previously was functioning under windows xp (before I "stepped in") and wamp. What I did was copy the site in /var/www, reconfigure the httpd.conf (DocumentRoot /var/www/site, etc). Although when I try to open the webpage I get this error: Database Error: Unable to connect to the database:The MySQL adapter "mysql" is not available.

[code]...

View 10 Replies View Related

Fedora Networking :: Mini Webserver - Internet Not Working

May 30, 2010

Long term Fedora user, I have recently decided to set up a small shuttle computer as a media centre (using mythTV), data store/NAS (so all my data is centralized), mini web server, etc. After installing I had the fun of trying to get my audio working correctly (which I did eventually .. after finding out I unplugged the audio after the second reboot and solved it after somewhere). After this, I got internet video searching working through mythTV using adobe Flash. I then went to bed only to find the internet not working (can't telnet, can't traceroute, can't anything). This is both as the mythtv user I have set up and as root.

The setup I have is:
PC -> router -> interweb
192.168.1.7 -> 192.168.1.1 -> interweb

I also have a laptop (F12) which is on 192.168.1.5.
The laptop has access to the internet just fine (no problem at router / interweb).
I have the only access to the router and disabled any ISP access (no changes in router).
I have the only access to the PC (no changes in PC).
I have set SElinux to permissive (no selinux issues).
I have temporarily disabled iptables on the PC (not firewall issue).

So, I decided to look at the differences between my two machines on the network. Initially the PC was missing the route:
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
I changed the services on startup so thet 'NetworkManager' was off, but 'network' started (exactly like my laptop). I turned off avahi-daemon, and any other network sort of daemon which doesn't match my laptop (which I have also customized).

I then set my eth0 config file to this:
Code:
# nVidia Corporation MCP77 Ethernet
DEVICE=eth0
HWADDR=00:30:1B:47:C4:FF
ONBOOT=yes
BOOTPROTO=none
TYPE=Ethernet
DNS1=192.168.1.1
USERCTL=yes
IPV6INIT=no
# DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
# NAME="System eth0"
# UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=192.168.1.7
NETMASK=255.255.255.0
NM_CONTROLLED=yes
GATEWAY=192.168.1.1
MTU=1432
# PREFIX=24

Commented out any lines which I didn't recognize. So, right now netstat -rn returns:
Code:
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

/etc/sysconfig/network:
Code:
NETWORKING=yes
HOSTNAME=sophie
And to me everything looks OK.

I even have inter-communication working fine (I can SSH between the two servers no problems - 192.168.1.7 <-> 192.168.1.5). I can do DNS queries from both just fine (nslookup google.com returns fine). I just can't get any information back from the net. Would it be work me doing a tcpdump or wireshark dump etc ('tcpdump > file' would be easier for me)?

View 2 Replies View Related

Fedora Networking :: View Local Webserver From Xp Clients By Not Using Ip?

Jul 26, 2010

I'm some sort of creating an Internal webserver or Intranet for short locally. My local webserver ip address is 192.168.0.1 and when im trying to view this on my xp clients i will type it in the url 192.168.0.1. What im trying to do is view my webserver instead of typing ipaddress I'll type hmij.edu.ph for example and trying to resolve it locally through local dns resolution.. so every time i type for example. my webserver name hmij.edu.ph i want it to redirect it to my local webserver w/out going to the internet first.. I already setup dnsmasq for dhcp and dnsclient resolution. is there any better way on how i can achieved this?

View 5 Replies View Related

Networking :: CnetOS 5: Can't Access Webserver Via Http From Host OS?

Mar 15, 2010

My server is installed on a guest OS on vmware. It really bugs me because I can't access it from the host OS's browser even though there is no discrepancy between /etc/hosts, /etc/sysconfig/network, httpd.conf files. Issuing ifconfig command also returns the same IP. I have also enabled netwroking in the vmware settings. And I can ping the guest OS's IP from the host.

View 3 Replies View Related

Ubuntu Networking :: WebServer 2008 On Server Not Reaching Outside World

Apr 7, 2010

I have a Belkin N router setup with a virtual server to port 80 to 192.168.2.2 which my server sits on.

However, for some reason, I can get to the server from other PC's on the Router, but from outside, it will not port to the Server?

Any ideas on how to setup this?

I have Windows Webserver 2008 installed running on a 3.0GHZ Server.

View 2 Replies View Related

CentOS 5 :: User Database Cannot Be Read?

Mar 21, 2009

This situation after a mains power failure took server down.Log oonto server with root, go to Admin > users and get this message:" The user database cannot be read. This problem is most likely caused by mismatch between /etx/password and /etc/shadow or /etc/group and /etc/gshadow. The program will exit now."

View 2 Replies View Related

General :: Centos Search For Postgres Database?

Jan 31, 2011

Ok so I need to Search for a postgres database File on a CentOs System. Is their a command i can run in the terminal to search for postgres files?

View 2 Replies View Related

CentOS 5 :: Can't Get A Backup Database Script To Work

Oct 21, 2009

I am trying to get a script to run, that will backup all my databases. The script is called automysqlbackup.sh (chmod 744), I have filled in the blanks and placed this into /etc/cron.daily I have checked that crond is running. Nothing happens, the databases are not backed up. I am at a loss, can anyone tell me what i am doing wrong. The script is shown below:

[Code]...

View 4 Replies View Related

CentOS 5 :: Create A Server For A Database That Has A .db File

Jan 25, 2010

I need to create a server for a database that has a .db file that is over 800Gb. now my first disk is 50Gb and i do the standard

100m ext2 boot
2000m swap
* / ext3

now I have a second 1.2T that i want to be /opt is there a way to set up 4kib block size in ext3 in the os install? or should I do it after the install? Is this block size even big enough?

View 11 Replies View Related

CentOS 5 :: Remotely Accessing Mysql Database?

Mar 10, 2011

I have an application running on a centOS machine that needs to access a database on a CentOS server. I granted access to all users with a certain user name and password.i opened up port 3306 as well with the following command: /sbin/iptables -A INPUT -i eth0 -p tcp --destination-port 3306 -j ACCEPTbut whenever i try to connect from my machine i get an error:ERROR 2003 (HY000): Can't connect to MySQL server on '172.16.102.129' (113)I am using mysql version 5.0.77 on centOS 5.5.

View 1 Replies View Related

CentOS 5 Server :: Can't Move The MYSQL Database Files

Nov 8, 2009

I just installed mysql and need to move the databases to a new location.I say 'no problem' I shutdown mysql (service mysqld stop) I configure my.cnf to point to the new location, which in my case is: /mnt/data/mysql. I know not very original naming. I do the old chown -R mysql:mysql /mnt/datal/mysql AND I copy all the files over (cp -R /var/lib/mysql /mnt/cgsvol/mysql) chmod 777 /mnt/data/mysql I ensure the chown worked (ls -a -l) and the files are there from the old directory. I can't load the daemon again. I check the log (/var/log/mysqld.log) and it can't write any test file to that directory.

(log file exact data).
091107 23:22:21 mysqld started
091107 23:22:22 [Warning] option 'max_join_size': unsigned value 18446744073709$
091107 23:22:22 [Warning] option 'max_join_size': unsigned value 18446744073709$

[code]....

View 3 Replies View Related

CentOS 5 :: Installing Atlassian JIRA And Configure Database Con

Aug 10, 2010

I would like to install this software on linux server for purpose of system reporting. I have all the installation software and the system's specification is based on system need.

View 1 Replies View Related

CentOS 5 :: Phpmyadmin Unable To Create A New User In Mysql Database

May 13, 2010

I have installed on a remote server phpmyadmin 3.3.1 and mysql 5.1.46 on a centos 5.4 OS.

Any newly created user with phamyadmin is unable to login both from mysql command line (from localhost) and phpmyadmin (localhost and remotely).

No prob when the user is created with mysql command line (from localhost). All of the users created with phpmyadmin, are not "visible" recognized from the show user command via the mysql command line. The setting I used when I create any user was the same as the ones with the mysql command line creation.

The error message I get when accessing from mysql command line (from localhost) is the following: "Access denied for user ... @localhost (using password: yes)"

View 2 Replies View Related

General :: Monitor Database IO And Available Database Threads?

Mar 7, 2011

am using zabbix open source solution for systems monitoring. I am facing a problem and discussed it on zabbix forum. my post was as "My zabbix server is behaving abnormally, approximately daily from 9 to 12, the server stop accumulating logs. I observed that the server report is RUNNING but it did not accumulate log values and also the machine have no extra load. Its shown in the graph image attached.t the following reply,"database performance?are you monitoring database IO and available database threads? "So any one have any idea that how can I do this as I am using MySQL as backend database on RHEL 3.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved