0
votes

I deployed my ror application successfully using capistrano, but when i brought up a browser point it to the application, it said 'server not found'.

here is my apache2.conf:

..
NameVirualHost *:80
<VirtualHost *:80>
  ServerName hylog.daemon.com
  DocumentRoot /home/work/hylog/current/public/

  <Directory /home/work/hylog/current/public>
     Order allow,deny
     Allow from all
  </Directory>
</VirtualHost>

in browser i pointed it to http://hylog.daemon.com.. anyone know what might be wrong? I've installed passenger. thanks.

1
Dunno why someone would -1 this... however, shouldn't this be on serverfault? (I +1'd you back...)code4life

1 Answers

0
votes

sounds like the DNS entry for hylog.daemon.com is not pointing to the right place. You should be able to ping the hylog.daemon.com and that point to the ip address of the server.

UPDATE:

format for hosts file:

<remote_ip> <host_name>

so if the ip address for the remote server was 12.12.12.12, the additional line in the host file should look like this:

12.12.12.12 hylog.daemon.com