Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 78
  • Last Modified:

configuring CentOS to become a webserver

Dear experts,

I wish to run a web server on my own. I do a web server setup internally. I can simply type the domain name or ip address which can lead me to my web page. I have the domain name server which I was able to assign my web server under the same domain. All this is under the IP 192.168.22.0/24 and connected to interface 1 (one of the port on firewall).

Now I wish to move web sever to a different subnet (192.168.3.0/24) and this subnet will be connected to interface 5.
I wish to allow external users to access my web page via port 80 to subnet 192.168.3.0 and allows the web server on 192.168.3.0 to communicate with sql server from 192.168.22.0. What I need to do in order to accomplish this? Will I need to buy a domain name for my web server or I can simply use my external IP? If I use my external IP will it be safe? Thanks.
0
Kinderly Wade
Asked:
Kinderly Wade
1 Solution
 
arnoldCommented:
you have combined multiple things into this question.

Layout of your network.
the centos box needs the IP.
The routing either the system is connected to multiple networks, or your router will need to deal with access to other segments.

External router port forwarding to the web server IP port 80.
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

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

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