• Status: Solved
  • Priority: Low
  • Security: Public
  • Views: 88
  • Last Modified:

Apache web server configuration

I am frustrated with maintaining and creating multiple rules on the firewall, Same time to expose my servers to the internet.

I wanted to keep only one server in DMZ, wanted to access back-end servers access through that server. Fortunately, I have found Apache web server will be able to achieve this. would be appreciated for the solution and help in configuring Apache server.

Below are the environment details,

IIS Server1 Fully qualified domain Name: ice1.smartyz.com
IIS Server1 IP address: 192.168.1.10
IIS Server2 Fully qualified domain Name: ice2.smartyz.com
IIS Server2 IP address: 192.168.1.20
Apache server Fully Qualified Name: WebSrv.smartyz.com
Public IP address of Apache server: 111.X.X.X
DNS Server name for apache server: UNFYD.com  

now I wanted to access IIS server1 via the link ice1.unfyd.com
and IIS server2 via the link ice2.unfyd.com
0
Somanathreddy Haridas
Asked:
Somanathreddy Haridas
  • 3
  • 2
1 Solution
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
There no real difference running your firewall rules on one DMZ verses all your hosts.

I use to run a DMZ setup + it became just to cumbersome to maintain.

No I run a simple firewall setup script at start time, for each machine + each LXD container, where I host clients.

Very simple.

Apache really has nothing to do with this, so if you're trying to fix this at the Apache level, you're in the wrong place.

At your DMZ, you'll forward all ports + protocols (or whichever you like) to each of your Apache machine instances.

Then on each Apache machine, you'll require similar routing to ensure all traffic returns along the same path.

This is packet related, not application (Apache) related.
0
 
Somanathreddy HaridasIt managerAuthor Commented:
Hi I am also worried about the public IP. I wanted to save the public IP.
0
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Try converting your two statements above into some sort of question. Unsure what these statements might mean.

Maybe also clarify what you expect to gain by this setup, as there's no difference (security wise) if you run iptables on your DMZ or machines.

The only difference is routing packets for many machines through one DMZ will slow down traffic + if you DMZ dies, your entire traffic flow dies too.
0
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Poster seems to have stopped posting.
0
 
Somanathreddy HaridasIt managerAuthor Commented:
Hi, I have configured the Apache server as per my needs.
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now