nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Set Computer as a web server inside LAN

This is a discussion on Set Computer as a web server inside LAN within the Networking, Firewalls and Security forums, part of the Mastering Servers category; Oh people of expert i have proplem related to networking i wanna setup a computer as a web server and ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > Mastering Servers > Networking, Firewalls and Security

Linux answers from nixCraft.


Networking, Firewalls and Security No it's not a secret. Talk about firewalls and security issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-18-2008, 05:53 PM
Junior Member
User
 
Join Date: Jul 2008
OS: RedHat/Solaris
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
h@foorsa.biz is on a distinguished road
Default Set Computer as a web server inside LAN

Oh people of expert i have proplem related to networking i wanna setup a computer as a web server and giving that server a real ip address
The details here as follows the location of that computer is a lab full of computers attached to local lan each lab is attached to a smart switch ( not cisco ) each switch of each lab is attached to a switch attached directly to a gateway to wide area network ( internet )
here's my problem
I wanna give the computer a real IP address in same lab without moving the computer please note the lab is local area network
what feature or technique allow me to do such a thing because i'm struggling with people of networking they said it's not possible an i must move my computer
does switching introduce a feature to implement such thing
Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 08-19-2008, 01:06 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Posts: 2,644
Thanks: 11
Thanked 232 Times in 172 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You can do that using various method. You need to use something called port forwarding so that you can run Linux Web Server / Service on Private IP Network. Following article should help you:
  1. How To Run Linux Web Server / Service on Private IP Network
  2. Linux Demilitarized Zone (DMZ) Ethernet Interface Requirements and Configuration
  3. Linux install and configure pound reverse proxy for Apache http / https web server
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 08-19-2008, 01:10 AM
Junior Member
User
 
Join Date: Jul 2008
OS: RedHat/Solaris
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
h@foorsa.biz is on a distinguished road
Default

Thanks for your reply
NAT is not sloution to my problem
and internet connection isn't DSL modem its a leased line connection
and i already have real static ip addresses for the machine
here's again my problem i'm in lab full of computers connected to local area network connected to a switch that siwtch is connected to another switch connected directly to the gateway to internet directly
i cannot move that machine to another location how can i give that machine real static ip address on same switch please note that the switch is a smart switch i heared once it's possible assign different subnets different and different IP's range gatways in same switch if someone knows that feature or technique please let me and Thanks in advance for your aid
Reply With Quote
  #4 (permalink)  
Old 08-20-2008, 09:23 AM
b-chan's Avatar
Junior Member
User
 
Join Date: Aug 2008
OS: Fedora
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
b-chan is on a distinguished road
Default

You are going to need to be a little clearer.
When you say that you already have a real static IP for the machine, is it internal or external?
Your network HAS to include a router somewhere, I dont think its likely that your network goes to a switch and then to your internet gateway. All you need to do is forward the service from the perimeter router to the machine in question.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
shell script to search specific file from txt file inside zip file and extract it aasif.shaikh Shell scripting 2 05-31-2008 07:44 PM
A script for Removing all the files inside a folder and its sub folder vivekv Shell scripting 1 10-25-2007 02:44 PM
Acess Linux mail server from Windows Computer brijesh Mail Servers 1 09-06-2007 03:52 PM
How to watch television on Linux computer tom Getting started tutorials 0 12-08-2005 01:46 PM
Problem my computer MRTG Mediocre Linux software 2 03-21-2005 12:55 PM


All times are GMT +5.5. The time now is 11:48 AM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38