Solved

configuring CentOS to become a webserver

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

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

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Join & Write a Comment

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 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

19 Experts available now in Live!

Get 1:1 Help Now