Two Servers Configs As A Local Net
Jul 31, 2008
I will have two servers (both centos), one is web server, the other one is database server. I would like to set the db server (mysql server) not accessed by the public internet, but web server only through an internal IP, like 10.x.x.x
How may I set them up? I'd appreciate a step by step tutorial. Because I am not a master of linux admin.
View 4 Replies
ADVERTISEMENT
Nov 19, 2014
I have a Plesk 12 server running that works great. But the problem is that whenever one of my shared hosting customers changes something out a domain or subdomain, all the other sites on the server give a 502 error.
The reason why is clear to me: apache is reloading its config while nginx is still active, but sees apache as being down and therefor throws a 502 error.
Is there any way to prevent this from happening? Because it's happening a lot and people are sending in 'site down' reports while there's actually nothing wrong with the server or their site.
View 2 Replies
View Related
Jul 24, 2008
Over ethernet, maybe using iSCSI? Couldn't one machine have all the other machines mounted on it as another device via iSCSI and then add them to its local zpool? Is there a better way of doing this, where one machine isn't such a bottle neck, assuming that this can be done at all? I hope this makes sense..
View 0 Replies
View Related
Jan 20, 2007
I have a lot of questions here so if you can't answer them all I understand. even pointing me somewhere where I could get the answers would be appreciated; hardware sites focusing on server hardware, forums focusing on such, etc.
we plan to have three different types of servers:
- db server (self explanatory. mysql. for forums, mysql driven sites.)
- file server (lots of files around ~2-10MB, consistant 70mbps right now, but we want more room for upgrades. needs a LOT of storage room.)
- web server (lots of php files, but also static things like plain html, images, etc. also includes all misc services for the setup-- dns, etc.)
could I be given a rundown for which hardware each of the three should have? I don't need specifics, even just knowing that more ram is important here while cpu doesn't matter as much, or that the fastest disks available are a must, etc would all be valuable info for me. despite that, I certainly wouldn't mind specific hypothetical hardware configs.
for the database server I'm assuming the more ram the better. not entirely sure about the cpu? also not positive on disks...
for the fileserver, how much ram would be practical or useful? disk io will be an issue I'm because plenty of people will be pulling files at once so the disk needs to read from multiple places. scsi (and even raptors) are not an option as we need 750GB+ of space on a reasonable budget. more ram will take some load of of the disks, but how much is neccessary / reasonable?
for the web server I'm assuming cpu first, then ram, but it'll likely need less ram than the db server?
I'm more lost on the disks than anything. scsi on the fileserver is not an option under any circumstances due to $/GB. for the db & web server I'm willing to pay for scsi if the performance increase really does warrant the extra money, but I'd like to be convinced before shelling it out. if you have benchmarks geared at server hardware when it comes to disks I'd really appreciate it.
also, what's the best way to network these together when colocated? each one with a dual gigabit ethernet port and then the communications go to and from the router?
View 7 Replies
View Related
May 24, 2008
We send mail to another servers but we cant recieve mails another servers. We can't recieve with webmail and outlook.
I look logs but there is no error and our ip is not in blacklist.
there is the error in our server
[url]
linux cpanel centos 4.6
View 2 Replies
View Related
May 18, 2008
I run multiple domains/sites on my linux server. I know there is a php.ini files that comes with the php installation package. But I have heard that there is a way to create a local php.ini file for each domain.
Does anyone knows how to create local php.ini files for each domain. Is there a special setting i need to do to make it run?
View 4 Replies
View Related
Jan 29, 2007
in my rc.local i've got it so a program starts up automatically, this works when i restart my machine but the machine has also been crashing randomly (something which i haven't tracked down the source of yet) and when it goes up after this the program isn't started. Could this relate to my crashing problem or would it be something else that isn't configured right?
View 3 Replies
View Related
Feb 4, 2007
I am trying to source some pure HK Local bw
can anyone give me some contacts on who to speak to?
View 0 Replies
View Related
Mar 28, 2008
I was wondering if it is possible to cluster 2 web servers and 2 mysql servers with only one server working as load balancer.
I am planning to use LVS (ldirectord and heartbeat).
Let's say I have 3 IPs allocated to the load balancing server.
111.222.111.222 (Main IP)
111.222.111.223 (Web Load Balancing IP)
111.222.111.224 (MySQL Load Balancing IP)
If a connection is made to .223 it would pass the request to one of the web nodes.
If a connection is made to .224 it would pass the request to one of the MySQL nodes.
Is it possible to do this?
If not, can I run, for example, nginx on 223 IP address to provide forward proxy? (Then it would not be able to HA but the main point is to load balance so)
Also, what would be the best way to keep the data same on both web servers? This is a web cluster for a very high traffic forum with a lot of uploads every hour so it has to do real time synchronization. I heard that DRDB is only one way and not two way so I'm not going to be able to use this.
View 11 Replies
View Related
Oct 11, 2009
I am just colocating servers and managing them myself, and renting services off of them. In the future I would like to start offering dedicated servers as well. I am wondering if many companies do this, or if its more of a general practice to just setup as a reseller? The worst part that comes to mind is thinking of how to do billing for the bandwidth per month. With my setup I would only be offering flat bandwidth packages (like 2TB a month) but even so, I cant think of anyway to automate it so WHMCS knows if they went over, if so, how much, etc.
View 6 Replies
View Related
Apr 29, 2009
am now registered my domain with a local person who's name is ABT in india.. but their service was not good and am planning to change the hosting space to yahoo or other cheap web space provider... how to do it... whether the ABT peoples help with this part...
View 13 Replies
View Related
May 1, 2009
I have problem on eth1 for local IP. Eth0 is public IP behind Firewall, and eth1 is local IP for backup and for database. Every time eth1 is on, eth0 cannot be reached by ssh and http, although still can be pinged. Eth1 is also IPMI BMC port, and automatically got IP from DHCP LAN for web-based IPMI access, and the IPMI cannot be turned off. Motherboard is Tyan B7002.
View 2 Replies
View Related
Jul 26, 2008
have only done static html sites in the past, but am ready to branch out and learn php and mysql. I have watched numerous video tutorials on php,mysql, dreamweaver cs3, and how they all work together.
I have followed all the steps on the tutorials and the website works great on my local testing server, but how in the world do I get it to work live on the internet! This is probably a very stupid question but I am at the point of not caring about looking stupid. I just want to know what Im missing/ doing wrong. The website is hosted with GoDaddy, (and the domain is registered with them as well).Am I supposed to have something set up there or a different server? I have tried using ftp to transfer all files over to the domain but when I visit the domain, the php pages do not work.
View 7 Replies
View Related
Jul 30, 2006
wasn't sure if this should go into "technical" or "programming" but I figure someone here will instantly be able to tell me...
(details: I'm on a shared host with cpanel and centos 3)
My hosting service techs refuse to update gnu TAR on the server even though it's several years old at 1.13 and has some know bugs that are annoying for complex calls - (basically the techs use any request like this to try to upsell me to dedicated or VPS which I don't need at my low level)
So I'd like to install a "local" copy of the newer gnu 1.14 or 1.15 TAR (which I *think* is possible?) into my account and have it run instead of the shared copy?
Unfortunately this is beyond my knowledge so thanks for any help in the right direction...
View 3 Replies
View Related
Oct 16, 2009
Okay, so here's the issue. I've been searching for a solution for about a week now, and just can't seem to find any information. The company that I work for had me switch their site live so I went through and changed the DNS information and pointed the A records to the new server running an online store. I waited and waited and waited for the propagation to finish so I could keep working on developing the site. I talked to our hosting company and they assured me that they were being pointed to the new server and there was no issue. I changed the DNS on my own computer to point to openDNS and I could see that it did in fact change.
We are now two weeks into the change and we can still not view the site from our network. I am in need of any ideas you can give me! If you ping the site with the default DNS server you receive the old IP Address but if you ping it with the openDNS IP in place, you receive the IP of the new server. I've gone through and run a /flushdns, /release, and /renew. I am working from a mac so advice geared towards this would be helpful however, I do have access to several machines running XP.
Again, the site has propagated across the internet, just not in our office.
I look forward to and appreciate any insight that you can offer with all of your eclectic wisdom.
View 14 Replies
View Related
Jul 1, 2008
I am really thinking of upgrade my dedi server, but since its from a IDE disk to a SATA, I can´t move the IDE to the new system.
Is there a way to backup the server disk to your
local computer? FTP ?
View 9 Replies
View Related
Jun 16, 2008
I have been working on an online shop locally from my machine, using Visual Web Developer and SQL server.
This is working fine, but now its at the stage were i need to show a client. In order to do this i need to upload it to our servers.
What i cant get my head round is the connection to the sql server, do i need to upload this too, or can i somehow point the connection string to the sql server sitting on my local machine...
Is it easier just to upload an sql server? how would i go about this?
View 3 Replies
View Related
Dec 3, 2008
I have a client who needs a very special configuration. We are trying to find a data center or server provider in Switzerland who can only broadcast there ip in Switzerland only. So any attack or anyone trying to access that ip outside Switzerland will not get even close to it...
View 3 Replies
View Related
Jun 6, 2008
I have a script running on my server that has access via port 1031, but I would like to block access to it from the public, and instead allow access only through a php proxy script on my server which will connect to port 1031 via 127.0.0.1 (i.e. 127.0.0.1:1031)
So some may be thinking why? Currently users gain access by heading to mydomain.com:1031 . However I would now like to include adverts along side the script (but can't physically make adjustments to the script as the company that made the script has vanished of earth)
So the only way I can think of doing this, is by having the adverts in an Frame next to the proxy script.
So does opening up access via 127.0.0.1 just for this case, give me security problems?
View 0 Replies
View Related
Mar 9, 2007
I have a client that is using proboards.com and they are tired of all the ads / limitations. They want to migrate to their own copy of SMF but they have over 1000 users and tons of posts.
Does anyone know if you can migrate your data from proboards.com?
View 5 Replies
View Related
Aug 14, 2008
I have a problem with SSH. I can't login from outside the local network.
Software:
Centos 5.2 X86_64 + virtuozzo 4 (fresh install)
Already tried:
checking sshd_conf, everything is right
Checking nameservers and network setting (look fine)
Stopped iptables service
Problem:
Eth0 have IP xxx.xxx.xxx.xxx i can ping this ip over wan
Eth1 have a lan IP 192.168.0.10
Those two ips are listed in sshd_conf.
Ssh worked fine over lan/eth1. From a extern host i can ping the eth0 ip, but not ssh over that IP. (get a timeout)
Also new containers are pingable but ssh doesn’t work. (firewall off) Webinterfaces are working well.
Hope someone have a solution, this is pretty frustration i have search over 2 days for a solution, this must be a simple thing (i hope)
View 13 Replies
View Related
Nov 29, 2007
I try to enhance my server security and prevent local hack but it seem useless.
I tried to chmod home/user/public_html to 711; disable functions; enable php open_basedir.
I can stop some popular shell such as c99shell.php but server can be hacked local.
Anyway to prevent it completely?
View 5 Replies
View Related
Oct 4, 2007
From last 2 days I am trying to browse a website locally in FC6 but not getting any sign of success, this site is not live yet.
Website is access through IP but my some application need the website accessing with domain name.
Dns zone file is existed all services are running
What exactly I am missing..
View 2 Replies
View Related
Nov 7, 2007
I am trying to assist a customer install a Dolphin CMS but it returns some "open_basedir restriction in effect" on /usr/local/bin/php (it needs the path to the PHP binary).
If I put /usr/local/bin/php in httpd.conf -> php_admin_value open_basedir "..." it seems to work and it finds the required binary but...is this safe?
View 10 Replies
View Related
Sep 7, 2007
All the summers the same thing, problems from the locals ISPs affect us because some users can't connect to their websites. If they manually change the dns can do it, but someones don't want to understand it.
I want to ask you if you know any solution, or see any error in my dns configuration.
1. I setup the dns entry on the domain registration service like : ns*.domain.com
2. domain.com it's my main domain only for dns
3. then I setup the servers with ns15.domain.com for the main ip and the secondary ns16.domain.com for example with the next ip .
It's possible to setup more dns to prevent this? or setup dns in another servers? something like geographical dns? or configure servers to resolve from others dns?
View 2 Replies
View Related
Apr 9, 2007
I live in Australia and a lot of my websites get their base traffic from the United States; therefore I have a dedicated server in the United States.
In a few months I will be developing a website that is mainly for Australians. I'm wondering if it would be better to seek Australian hosting just for this site or just put it on my dedicated server in the U.S.
Personally I don't really notice the difference in load times between websites hosted in different countries but it may add up in the long run.
The reason I am leaning towards the U.S dedicated server option is that I have full control over the server. (i.e what php modules and extensions are loaded).
View 4 Replies
View Related
Oct 29, 2007
I utilized xammp to set up a local hosting enviroment on my desktop. It included Apahe, mysql and php. Apparently php support has not been properly installed on my web server.
How do I do that?
View 3 Replies
View Related
Jun 13, 2007
Just got a quotation from one of the local colo companies :-
[1] 1/4 rack with shared 10Mbps
[2] 1/4 rack with 256Kbps
I am interested to know what's the difference between [1] and [2]
View 14 Replies
View Related
May 4, 2009
I have a question if it is possible to use my local server as database storage and even some uploaded files. I am planning to host my website even in a shared hosting server provided that I could used my local server as data storage.
View 2 Replies
View Related
Nov 8, 2009
I'm getting a very weird problem that I can't seem to figure out after I upgraded from windows 2000 adv server to windows 2008 server.
The problem is whenever I try to visit my website (which is hosted on this server) some of the images will not load up ..
they will be X'ed (connection seems to terminated or timed out) .. all of the text, scripts seem to work ..
If I was to use the servers local IP Address indead of the Domain name / External IP .. everything comes up ..
Anyone got a idea what could cause connection issues via the Domain / EXT IP?
This has to be something new with windows 2008 --
Maybe something in Windows Firewall settings?
*Also note .. the problem only is happening here on my local network --
The server has Routing Enabled w/Nat --
All other websites work fine -
People outside of my local network can see my website with no issues - via the Domain ...
View 1 Replies
View Related
Oct 30, 2009
I'm planning a website at the moment but I'm wondering about a slight issue, regarding the local root folder of a website.
Currently, I'm using Dreamweaver to create a website and I have had no problems of uploading my files to a site through Dreamweaver before. But I will not have access to my computer for about one month every year. However, I have a laptop available during that month. But since my local root folder is located on my stationary computer it seems impossible for me to, in any way, use that laptop to manage my site (upload new files to the server).
View 0 Replies
View Related