How to host server on local PC and set up virtual hosts it?

Discussion in 'Server Operation' started by prodicus, Feb 20, 2015.

  1. prodicus

    prodicus New Member

    I am new to Ubuntu and I wanted to host a server on it.

    I googled a bit and read something about Apache and IIS and I couldn't get much out of it. Right now I am confused about how to proceed.

    What I want to do is
    • Host server on local PC and set up virtual hosts on same PC
    • in virtual host, have “myname.com” opened in browser
    Any relevant links which could serve as a tutorial?
    Sorry if it has been already asked, it would be kind of you if you could redirect to that thread.
     
    Last edited: Feb 20, 2015
  2. Thedan04

    Thedan04 New Member

    If you are using Ubuntu as your desktop, then you will want to use Apache. IIS is only on Windows. I recommend performing google searches for ubuntu (the version you have installed) apache installation and configuration. There are dozens of tutorials out there already written with step by step instructions. Remember to make backup copies of your configuration files before changing anything so that you can revert your changes easily of you need to. Doing it wrong, and researching the error messages will teach you more than any tutorial ever will.

    Below is a link to the official ubuntu documentation:
    https://help.ubuntu.com/lts/serverguide/httpd.html

    And the Apache documentation:
    http://httpd.apache.org/

    Reviewing these documents first will not be the fastest initial approach, however having a stronger understanding of what you are doing prior to making changes will save you much time and frustration in the long run.
     
    prodicus likes this.

Share This Page