Sponsored Content
Special Forums UNIX and Linux Applications One DMZ server reverse proxy for 2 websites Post 303014314 by dakelly on Friday 9th of March 2018 06:57:02 AM
Old 03-09-2018
One DMZ server reverse proxy for 2 websites

Hi All,

Hope this is the correct thread to ask this, if not, can an admin please move it to the correct thread.


Got a wee problem I hope someone can point me in the right direction.

I have Network A with two servers hosting separate webpages (I will call these WP1 & WP2). A DMZ server used for reverse proxy. And Network B where end users can point to URLs that will hit Network A web sites.

DMZ server is ubuntu 16.04

Network A is fine and runs fine for everyone in Network A to display WP1 & WP2.

In DMZ, I can use the URLs in a browser and WP1 loads with normal speed but WP2 loads super slow, but does eventually display.

In the ubuntu DMZ server, the /etc/apache2/sites-available/ I have 2 separate configs, one for each webpage to display.

Also, I have added in the IP of the servers and the hosts file in /etc/hosts

WP1 was configured a few months ago on the DMZ and has worked fine ever since. WPL2 is new to the DMZ (however has been available for Network A for a long time). However (not sure if this is relevant) WP1 is Alphabetically before WP2...
After the config for WP2 on the DMZ was created I ran
Code:
a2ensite name_of_site.domain.conf

Also firewall has been updated to same config as WP1 (for WP2 to work)

why would WP2 run slower?
One DMZ server reverse proxy for 2 websites-capturepng

Last edited by dakelly; 03-09-2018 at 09:18 AM..
 

9 More Discussions You Might Find Interesting

1. Linux

Reverse Proxy

I have configured reverse proxy through apache...conf file is attached My reverse proxy has a public ip.it is redirecting the request to 172.16.1.43 which is http server.....Now i have a link in Http server's home page which will redirect the request to another Lan zone machine... (0 Replies)
Discussion started by: dipanrc
0 Replies

2. UNIX for Dummies Questions & Answers

Reverse Proxy difficulty

Hi I am trying to set up two hosts in a reverse proxy. The reverse proxy already has 8 servers running perfectly, but they are all simply mapping pure addresses, which I have registered internally and externally. The latest two I wish to add are a bit different, they are app servers, one... (1 Reply)
Discussion started by: rboekdrukker
1 Replies

3. IP Networking

Software/tool to route an IP packet to proxy server and capture the Proxy reply as an

Hi, I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Discussion started by: Rajesh_BK
0 Replies

4. UNIX for Advanced & Expert Users

How do you manage your DMZ server accounts?

I'd just like to know what you use for user account management on your DMZ servers? Do you use the same authentication realm as internally? Do you use a different authentication realm, perhaps only for the DMZ? Do you use local accounts? (2 Replies)
Discussion started by: humbletech99
2 Replies

5. UNIX for Advanced & Expert Users

Apache-Reverse proxy and load balancing

Hi All, I have a webpage loaded on server1 with authorization enabled by .htaccess, which can be accessed by http://ipofserver1/index.html. Now im planning a high availabilty load balancing in such a way that if the server1 is down due to some reason it should connect to another server. i have... (1 Reply)
Discussion started by: Tuxidow
1 Replies

6. UNIX for Advanced & Expert Users

Setup a Reverse Proxy on Squid

Hi all, The scenario is: http://img834.imageshack.us/img834/7990/1234z.jpg - With: + 192.168.100.0/24 : internet link (simulation) + Multiple Websites are hosting in local. + Complete DNS configuration. + OS: CentOS 5 - Requirements: Configure Squid Proxy as... (0 Replies)
Discussion started by: kidzer0
0 Replies

7. Web Development

Perhaps, different websites on same Apache server.

Reading Apache documentation I come to understand that it can host different websites, either by FQDN or IP address, virtually. Is it possible for an Apache server to run two sites, and no one be able to tell from outside, that they are hosted in the same server? If not possible. Essentially,... (2 Replies)
Discussion started by: Aia
2 Replies

8. Red Hat

Configuration Reverse Proxy - https issue

Hi All I need your valuable help on this. Im trying to setup reverse proxy using apache in rhel 5.5. I just started with Apache, and not much idea about going with advance level config, except that i have tried to set up this reverse proxy based on an online guide i found in internet. The... (0 Replies)
Discussion started by: niyas_gk
0 Replies

9. IP Networking

Reverse proxy tutorials for webserver?

Hi, one member of WJ forum adviced that i setup an reverse proxy for my webserver. So im curious if anyone know about good, easy noob tutorial on hwo to achieve this, please link to this tutorial how to setup reverse proxy for an webserver. Or better for whole node server with OpenVZ... (1 Reply)
Discussion started by: postcd
1 Replies
TIDY-PROXY(1)							 tidy-proxy manual						     TIDY-PROXY(1)

NAME
tidy-proxy - small http proxy which tidies html SYNOPSIS
tidy-proxy [ --host hostname] [ -p port] [ -d] [ -l {1|2}] [ --action {t|v}] [ --tidy-cmd tidy-command] [ --validate-cmd validate-command] [ --pid pid-file] DESCRIPTION
tidy-proxy is a small proxy server written in perl. using this proxy web-pages are checked for HTML errors with tidy or validate while they are downloaded. The results are displayed on top of that page. tidy-proxy is mainly intended for developing dynamic web-pages. OPTIONS
--host *host* the host parameter sets the listening address for tidy-proxy. [default: localhost] -p, --port *port* port sets the listening port for tidy-proxy. [default: 9090] -d, --nodaemon run tidy-proxy in foreground -l, --level *level* level sets the filtering level for tidy-proxy 1: Warnings 2: Errors --action *t|v* set if to use *t*idy or *v*alidate. [default: tidy] --tidy-cmd *cmd* Command to use for tidy. [default: /usr/bin/tidy] --validate-cmd *cmd* Command to use for validate. [default: /usr/bin/validate] --pid *pid-file* Create a pid file. Works only in daemon mode. --dest-host *destination host* run tidy-proxy in reverse-proxy mode. tidy-proxy acts as normal webserver and forwards every request to *destination host*. --loc-rewrite rewrite the Location and the Host header in reverse-proxy mode. -h, -?, --help Prints help message. SEE ALSO
tidy(1), validate(1) AUTHOR
This manual page was written by Jonas Meurer jonas@freesources.org for the Debian distribution of tidy-proxy. COPYRIGHT
Copyright (C) 2003-2008: Jonas Meurer jonas@freesources.org This manual page is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. tidy-proxy 0.97-4 2011-04-09 TIDY-PROXY(1)
All times are GMT -4. The time now is 02:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy