Ubuntu Virtual Servers

From VistApedia
Revision as of 15:03, 3 February 2010 by Perspectoff (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

(This section is under construction.)

  • Copy and edit a configuration file in the Apache2 sites-available folder.
cd /etc/apache2/sites-available
sudo cp default worldvista
sudo kate worldvista
  • Edit the virtual host file so that it looks like:
<VirtualHost *:9260>
ServerAdmin webmaster@worldvista.myoffice.org
DocumentRoot /opt/worldvista/EHR
ServerName worldvista.myoffice.org
ServerAlias www.worldvista.myoffice.org worldvista.myoffice.org
</VirtualHost>

where worldvista.myoffice.org is an example URL for your server (use your own, of course)

  • Restart Apache2:
sudo /etc/init.d/apache2 restart
  • Make sure your router forwards port 9260 to the (static) IP address (on your LAN) at which the computer hosting the VistA server resides.