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
Somanathreddy HaridasIt managerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DNS

From novice to tech pro — start learning today.