Solved

setting up a linux web server

Posted on 2010-09-24
11
559 Views
Last Modified: 2012-05-10
Hi

I am currenty building a test web server using ubuntu server v10.04.01 the latest downloaded it today from their website for a community interest company (cic) to test web designs already on a hosting account as we will do hosting ourselves for the community projects. So my questions are:
1 the router has no dmz to put the linux server into whats the best way instead of port forwarding, if I have to port  forward what ports are needed
2 the linux server will have a dedicated ip address so how does the host header work so the hosted accounts work from the same ip address under dns
3 I am looking for a free c-panel/whm control panel so we tell teach webhosting as well as web design as the cic is basically a charity so we cant go down the cpanel route as the cost is too much. I am currently looking at ebox/ventyal as thats ubuntu's replacement for webmin. Should i look for something else ?
0
Comment
Question by:IanTh
  • 6
  • 4
11 Comments
 
LVL 76

Accepted Solution

by:
arnold earned 400 total points
Comment Utility
DMZ is often suggested to isolate the system that is exposed to the internet from the LAN just in case it is compromised.

On the router you would need to forward port 80 if you need this site accessed from the outside.  Depending on your router and whether you already have a production web server that is using port 80 forwarding, you could port forward a different port to the testwebserver port 80.
The difference would be that when you need to access the test web server you would type http://myexternalip:external_port

The host header deals with how you define the <VirtualHost>

http://httpd.apache.org/docs/2.0/vhosts/name-based.html

Unfamiliar with the GUI options.
Since this is a test web server, test out the various GUis for ease of use as well as functionality and flexibility.
0
 
LVL 2

Assisted Solution

by:mobilescholar
mobilescholar earned 100 total points
Comment Utility
Webmin is still out and supported, though there is a small issue (regarding dependencies) installing it on Ubuntu. This walkthrough will show you how to install webmin on Ubuntu Lucid (http://www.kelvinwong.ca/2010/05/22/installing-webmin-on-ubuntu-server-10-04-lts-lucid/).

You can browse the short list of web-based administration consoles here (http://en.wikipedia.org/wiki/Comparison_of_web_hosting_control_panels), but webmin is still the standard. Many people swear by the stress-free theme available here (http://www.stress-free.co.nz/webmin-theme). Of course, I prefer the command line as it provides greater control.
0
 
LVL 30

Author Comment

by:IanTh
Comment Utility
so how come ubuntu now say use ebox
0
 
LVL 30

Author Comment

by:IanTh
Comment Utility
the problem with webmin I couldn't get it from the download link as it wasn't working last time I tried
0
 
LVL 76

Assisted Solution

by:arnold
arnold earned 400 total points
Comment Utility
The whole Idea of opensource is the individual has the choice.  
Those who create the various distribution can not test every single option, they test the predominant ones and the ones that meet their philosophy.
i.e. ease of use, audience technical level, etc.

An expert user can pickup any distribution and would often work in terminal/text based mode.  A new user exploring needs to have as straight forward an implementation or they will move on.

If you try ebox, it can be installed from the ubuntu repositories apt-get install ebox.

If you are familiar with webmin, mobilescholar posted the process you would need to follow to get it installed on your system.
Download the debian package from http://www.webmin.com/download.html and install it on your ubuntu system.
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 
LVL 30

Author Comment

by:IanTh
Comment Utility
its not ebox anymore its http://www.zentyal.com/

anyway webmin/ebox/zentyal ar like whm imho whats like cpanel then as my boss is not too linux savy and thats why I was using a whm/cpanel type app as most hosting accounts use cpanel/whm to make it easier as in the future we will be teaching kids how to setup hosting for the web designs their working on so they host their own design
0
 
LVL 76

Assisted Solution

by:arnold
arnold earned 400 total points
Comment Utility
You can either purchase the cpanel app, or work out how to setup the available open source components. You can then combine the various components into a single package to be installed.

In a way your issue is not with setting up a web server, but with a set of tools that enable the management of the server in a GUI type of interface.

Have you downloaded the Debian Webmin package and did you install it on your ubuntu system?  Did/does it do what you want?

IMHO unless the tools used to manage the server provides for isolation such that usera can not mess up userb's data, the management of the server should be left to the administrator of the system.
0
 
LVL 30

Author Comment

by:IanTh
Comment Utility
webmin is not ubuntu's advice anymore ebox is !

Anyway I am currently going ispconfig on 10.04 will let you know how it works out as currently half way through
0
 
LVL 76

Assisted Solution

by:arnold
arnold earned 400 total points
Comment Utility
Many vendors can not spend the time testing every variation of every tool available.  If you are used to using webmin and if you are willing to test it out, do so.

It is not as though you are purchasing an application where the vendor tells you this is the support criteria and they will not help.  

Ubuntu seems to be using debian style package managers and the debian version of webmin might do the trick.  You can always remove it and go with the vendor supported/recommended option.  Just be carefull with the configuration changes that deals with the system versus individual applications.  Presumably ubuntu may have change where/how certain settings are set for the operation of the OS.
0
 
LVL 30

Author Comment

by:IanTh
Comment Utility
currently evaluating ispconfig 3
0
 
LVL 30

Author Closing Comment

by:IanTh
Comment Utility
got ispconfig 3 working on 10.04.1 server just testing current eb designs to check consistence with current host
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

728 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

11 Experts available now in Live!

Get 1:1 Help Now