1. IMPORTANT - 11/13/2015: In light of a possible breach we have scrubbed all passwords. You will need to request a password reset through the site. Click here for more information.

Shared webserver

Discussion in 'Web Server' started by Kirk, Oct 31, 2011.

  1. Kirk

    Kirk New Member Staff Member

    Oct 28, 2011
    Likes Received:
    How I can set up a webserver without using cPanel or Plesk?

  2. gcawood

    gcawood Administrator Staff Member

    Oct 28, 2011
    Likes Received:
    Hi Toni,
    Setting up a web server without using cPanel or Plesk is simple. Essentially, all you would need to do is download the installation media of your preferred Linux OS, run through the install, selecting web server (so that you get apache/mysql,php etc...) and you are just about done!

    However, administering a bear bones server may be too complicated for a novice user. It will require you to edit the config files manually in order to setup the server, and also schedule updates to the server manually. If you are interested in running a server like this, we would be happy to help you get started, or even do the initial setup for you. Just email hosting@IQnection.com and we can get you started on the right foot.

  3. Rob

    Rob Administrator Staff Member

    Oct 27, 2011
    Likes Received:
    Hey there Toni,

    Assuming you have apache installed - along w/ anything you'll want to use like php, mysql, etc.. you can set up a web server relatively easily..

    First off, create a spot where you want your site to live - let's say you're setting up Linuxforum.com:

    mkdir -p /home/sites/linuxforum.com
    (the -p will create parent directories if they don't exist)

    Then, edit the /etc/httpd/conf/httpd.conf (CentOS, Red Hat, etc..) to add your site. Add this to the bottom of the file:
    <VirtualHost *:80>
        ServerAdmin webmaster@linuxforum.com
        DocumentRoot /home/sites/linuxforum.com
        ServerName www.linuxforum.com
        ServerAlias linuxforum.com
        ErrorLog logs/linuxforum.com-error_log
        CustomLog logs/linuxforum.com-access_log common
    (replacing w/ your info of course)

    Restart apache:
    CentOS/Red Hat/etc..
    service httpd restart
    That will get it going in a very basic way and bring up a website on the box assuming it's the same ip as the server.

    Like gcawood said - if you're newish to Linux, we'd suggest going with control panel software like cPanel at first.
  4. MustangV10

    MustangV10 New Member

    Nov 11, 2011
    Likes Received:
    Do you have a VPS or Dedicated server to go from already?

Share This Page