473,388 Members | 1,400 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

How to setup a public web server on CentOS 6?

194 100+
Hi everyone,

I have installed CentOS6(64 bit) at my LAN network. I plugged my network cable into the CPU and then i assigned a LAN IP and GATEWAY address.

It is working fine and I can SSH through network to this computer and I can browse internet at this computer.

My task is to make this computer as Web Server so that i can give IP address to my clients so that they can view my local sites from internet.

I have a static IP (from my ISP). How i can make it a live webserver?

I have installed apache,php,mysql at this computer. Please guide me how i can make it live to my clients. This will serve as Staging Server. Please guide me as how I can achieve this.

Thanking you.

Regards

Faisal
Sep 29 '11 #1
2 4294
sicarie
4,677 Expert Mod 4TB
To do this right is going to require a significant amount of work and research.

I would recommend ensuring your network has a DMZ. The DMZ is a place to put devices that touch the internet (like web servers) so that if they do get compromised, they don't affect your PC/home/office systems. This is usually separated from your LAN by a firewall.

From there, decide what hardware you would like your web server to run on and set that up. You already decided on OS, so you can decide what server software you'd like to use. I'd suggest Apache as it's got a LOT of documentation. Depending on how much you want to configure it, you can add things like MySQL, PHP, etc...

Then make sure you can reach your web server locally, and from the internet.
Sep 30 '11 #2
Change the details within your /etc/httpd/conf/httpd.conf

Within there are several configuration options which allow you to assign a static ip to APACHE as well as opening the server to someone outside of your network. Also you need to open port 80 (apache's port) [follow this link.
Oct 25 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Grim Reaper | last post by:
My work let me put SQL Server 7.0 Enterprise Edition on my laptop. I have never setup a server from the beginning, so I am a little new at creating server groups. Alright, I am trying to create...
20
by: piggy | last post by:
I have developed an application using C# under .NET 2.0 framework. It is almost done and it is time for me to think about deploymnet to all users. I don't have any background about this and would...
1
by: jonathan184 | last post by:
Hi before i put on the router. I setup a basic vpn server and was able to connect and authenticate using pptp. my client side i am using windows xp pro ms vpn client On the server it DSL...
1
by: berry | last post by:
Hi guys.. I am given an order to buy a server and complete the setup. what shall i need to consider and buy? I need the server to store the company data. the data size is not much. other than SQL...
2
by: ricco | last post by:
I have a web form created in html, on a web host server, which includes a start time field that can be up to 24 hours ahead. After hitting the submit button, a Perl script is run that takes the form...
0
by: koren99 | last post by:
hi, i'm trying to test a c# program which uses sql server tables, and need to crate a connection and database for this test. i've installed sql server 2000 enterprise edition, and have client...
3
by: =?Utf-8?B?ZGF2aWQ=?= | last post by:
Last week I asked a question about connection to database from client machine (developer machine). I have changed the database security setup for "SQL Server and Windows" under (local)Windows NT...
0
by: winbala | last post by:
Hi I m Bala.. I have developed my application vb .net 2003 back end sqlserver 2000. then i had created setup. Now that setup works server system and client system. Act i want how many ...
4
by: ethangk | last post by:
Hey This is a little hard to explain but I will try my best. Is it possible to have a application running on a specific computer on a network, and to have all requests sent from the internet sent to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.