Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-19-2013, 06:53 AM   #1
LQ Newbie
Registered: Jun 2013
Posts: 1

Rep: Reputation: Disabled
Smile hosting web application on linux server (freedom it)

hey can any body please give me a link or teach me how to host a web application on my server it will be mostly used for busness purposes... more precisely filling order forms! and Thank You.
Old 06-19-2013, 07:50 AM   #2
Registered: Mar 2013
Posts: 622

Rep: Reputation: 136Reputation: 136
Before web hosting you need to read about setting up a secure web server

Here is a tutorial about Linux Internet Web Server and Domain Configuration Tutorial

webhosting guide

Start your own web hosting company/ How to become a web host

Steps For Web Hosting Setup
Webhsoting is very competitive but I found it works well because I am webdesigner and I put my own clients on my hosting.
Setup Time: about 3 hours (depends on server speeds)
Ingredients: cpanel license $38 a month, whmcs license $15.95 per month (optional), Cent Os $free, dedicated server (varies too much to price out, I found some at dell for $349 that work awesome think they are T110, and bought on ebay HP dl380 for $100 those rock), merchant account or paypal ( I use, to keep people on my site and not to leave for payment), Domain and SSL (at godaddy about $50 per year for both)
Lets Get Started
1. Install Centos ( enable gnome, disable se linux, disable firewall)
2. Log onto gnome desktop and configure eth0 with your ip, dns, gateway etc
open up browser on centos and do a find my ip so you know you have correct static ip configurred. After this is done u can disconnect monitor keyboard etc to server.
3. Go to normal desktop pc now and download putty.exe , enter ip of server, root, and password
4. Run cmd to install cpanel (provided by your cpanel reseller). Cpanel takes about an hour to install so be patient
5. After install is complete go to your ip / whm
6. Setup nameservers, hostname we use something like server7.123onlinenow dot com ( I will discuss nameservers later in article)
7. From here I wont say how to setup because its different for everyone but some keypoints are enable bruteforce protection, setup host access control and go threw easy apache update to configure based on your likings.
SSL and Name Servers:
Assuming you have godaddy domain and SSL
1.create nameservers ns1 and ns2.yourdomain dot com
Login into godaddy, select your domain, and go to domain manager
2. On bottom left go to Host Summary and click add
3. you need 2 static ips for this, for the subdomain type ns1 or ns2 and enter the ip. After this is setup on that same domain set the nameservers to those nameservers ns1.yourdomain dot com etc......
Now lets setup SSL
1.Login into your cpanel / WHm and generate a CSR under the SSL menus
2. Copy and paste CSR into godaddy
3. Godaddy will issue you a SSL, copy and paste that into SSL setup in cpanel/ whm "select user to be nobody"
4. manage service ssl certificates and use that ssl in their so your connections to cpanel, webmail, ftp are secure
I do this on a daily bases and never knew how extensive it was until I started typing lmao! Hope this helps. If anyone needs help you can catch me on my live support 123onlinenow (dot) com or use the contact form, I usually respond within an hour
Goodluck and happy learning, dont give up, beleive me I have wanted to many times!
Old 06-20-2013, 02:44 AM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,418

Rep: Reputation: 2398Reputation: 2398Reputation: 2398Reputation: 2398Reputation: 2398Reputation: 2398Reputation: 2398Reputation: 2398Reputation: 2398Reputation: 2398Reputation: 2398
A good HOWTO site
NB: if this is going to be accessible on the internet, read the Stickies on the Security Forum.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring and Hosting Web sites in Red hat web server 6 shakul hameed Linux - Server 4 09-07-2012 01:55 AM
LXer: Web Hosting Provider Zen Internet Offer Linux Hosting Trial for 1 ... LXer Syndicated Linux News 0 04-20-2006 10:33 PM
Web hosting application- assigning disk space ssudhi Linux - Newbie 1 05-01-2004 06:09 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration