Solved

configuring CentOS to become a webserver

Posted on 2015-02-09
1
63 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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

773 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