| Edit | Back | pdf:writer| three column layout

Apache

VirtualHosts:
ServerName 127.0.0.1 local ipaddress for testing locally
NameVirtualHost * setting up named virtual hosts for all addresses
<VirtualHost *> setting up names virtual hosts for all addresses
ServerName app.yourdomain.com this virtual host will handle all the requests for app.yourdomain.com
Server Alias app2.yourdomain.com this virtual host will also handle requests for app2.yourdomain.com
DocumentRoot /path/to/rails_app/public points to document root of your app
</VirtualHost> finish the tag - you can have any number of virtual hosts - first one will be default

 | Edit | Back| pdf:writer| three column layout