Solved

configuring CentOS to become a webserver

Posted on 2015-02-09
1
62 Views
Last Modified: 2015-02-10
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
Comment
Question by:Kinderly Wade
1 Comment
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 40600237
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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now