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

Apache

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

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