Home » Network & Servers » Page 2
Configure keepalived for failover and load-balance
Network & Servers

I need configuration keepalived which allows:

  1. Using only two RealServers/Hosts, without separated Director.
  2. On each server running VRRP and settings VIP for master.
  3. If all servers is alive on master(First) running load-balancer, which runs in RR mode and pass 50% traffic to Second server
  4. If master server down, Second server becomes NEW master (the king

DNS Resolver System for Web service [on hold]
Network & Servers

Basically, I have a web app - www.example.com - it allows users may create subdomains:

  • sub1.example.com
  • sub2.example.com
  • sub3.example.com

Now I want to setup system that resolve user's own domains to these subdomains:

  • example.net -> sub1.example.com
  • example.org -> sub2.example.com
  • example.co.uk -> su

apache - pipe logs to a script - while not spawning script multiple times
Network & Servers

I want to pipe apache logs (with my custom format) to my script. I at the same time want to keep loging standard format for every vhost to separate file.

When I put CustomLog "|/path/to/my/script" myformat in httpd.conf it works perfect but only for vhosts that has no CustomLog /path/to/logs/vhostXX-logfile otherformat inside

For vhosts that has already logging in it it does n

WiFi Portal with device registration
Network & Servers

I need to implement a Wi-Fi captive portal in a University environment that allows self-registration of mobile devices. I'm specifically looking for capabilities like Active Directory integration, login the first time and register your device and then on, auto-identification via Mac address of your device etc.

Any recommendations?


Creating a NFS share across servers with varying UIDs
Network & Servers

I have 4-5 Ubuntu 14.04 servers in my network and I want to share a common /home directory between them. I have setup the nfs server, and I can mount the directory on various clients. However my problem is that of user IDs.

Example: A user on the nfs server is UID 1003, but on an nfs client this same user is UID 1002, on another nfs client

How to setup two Cisco 1921s in a single site Windows domain
Network & Servers

I have two Cisco 1921s that will be used in the same Windows domain network (corp.example.com). The first router will be in the data center. The second router will be a dedicated router sitting in a separate office (CEO's office which is in the same building). The router will be in the CEOs office only to provide the best routing performance (using QoS). The first router will serve as a default

Make nginx return a JSON header
Network & Servers

PHP/5.4.45, nginx/1.2.1

My PHP script set correct content/type for json:

header('Content-Type: application/json; charset=UTF-8');

But in server response header:


How I should change header for this php page?

header function work correctly on apache servers. How

Does docker restart use the latest image or the one the container was created with?
Network & Servers

If I create a container using a tag/label

docker run --name some_container -d me/my_image

Update the image with

docker pull me/my_image

And restart the container with

docker restart some_container

Which version does the new container use?

In docker inspect .Image gives the id

Block facebook messenger and whatsApp on Dlink router [on hold]
Network & Servers

I would like to Block facebook messenger and whatsApp on my Dlink router DSL-2730U . I googled the same and tried some of the methods but not a single one worked. It's really important as I want to keep my children at bay from online stalkers

Socket IO combined with apache ssl server
Network & Servers

I'm trying to run a NodeJS server on port 8000 along with my Apache server which has a ssl certificate. I'm using virtual hosts and proxypass to link from my apache website through the /node path to my NodeJS server.

The problem I'm having right is that I'm able to load the pages served with the Express plugin but the polling from SocketIO connections seem to fail. I've tried a bunch o

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .