skip to main content - dyslexic font - mobile - text - print

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.

Correspondent

NYbill and Windigo


Host ID: 196

email: jacob.nospam@nospam.fragdev.com
episodes: 3

hpr1206 :: Resolving Issues (The Vhost Config File)

Released on 2013-03-18 under a CC-BY-SA license.

Windigo helps NYbill as he trys to set up mutiple servers on his VPS by explaining the stucture of the vhost file.

NameVirtualHost *:80

#this first virtualhost enables: http://127.0.0.1, or: http://localhost, 
#to still go to /srv/http/*index.html(otherwise it will 404_error).
#the reason for this: once you tell httpd.conf to include extra/httpd-vhosts.conf, 
#ALL vhosts are handled in httpd-vhosts.conf(including the default one),
# E.G. the default virtualhost in httpd.conf is not used and must be included here, 
#otherwise, only domainname1.dom & domainname2.dom will be accessible
#from your web browser and NOT http://127.0.0.1, or: http://localhost, etc.
#


    DocumentRoot "/srv/http"
    ServerAdmin root@localhost
    ErrorLog "/var/log/httpd/127.0.0.1-error_log"
    CustomLog "/var/log/httpd/127.0.0.1-access_log" common
    
      DirectoryIndex index.htm index.html
      AddHandler cgi-script .cgi .pl
      Options ExecCGI Indexes FollowSymLinks MultiViews +Includes
      AllowOverride None
      Order allow,deny
      Allow from all
    



    ServerAdmin your@domainname1.dom
    DocumentRoot "/home/username/yoursites/domainname1.dom/www"
    ServerName domainname1.dom
    ServerAlias domainname1.dom
    
      DirectoryIndex index.htm index.html
      AddHandler cgi-script .cgi .pl
      Options ExecCGI Indexes FollowSymLinks MultiViews +Includes
      AllowOverride None
      Order allow,deny
      Allow from all




    ServerAdmin your@domainname2.dom
    DocumentRoot "/home/username/yoursites/domainname2.dom/www"
    ServerName domainname2.dom
    ServerAlias domainname2.dom
    
      DirectoryIndex index.htm index.html
      AddHandler cgi-script .cgi .pl
      Options ExecCGI Indexes FollowSymLinks MultiViews +Includes
      AllowOverride None
      Order allow,deny
      Allow from all



hpr0998 :: Viva la Federation!

Released on 2012-05-29 under a CC-BY-SA license.

In this episode, NYbill and Windigo explain their experience setting up their own instances of Status.net, a microblogging service.

While they do not give a beginning to end installation guide, they do discuss some hurdles they encountered, and provide resources that may prove invaluable to someone who has just set up their own server.

Links


hpr0887 :: init()

Released on 2011-12-27 under a CC-BY-SA license.
Gun-toting chimp NYbill and cat-riding neer-do-well Windigo detail their first steps into Linux, from humble beginnings to current day.

Links


Become a Correspondent