Deployed rails site on ec2 using capistrano, but it doesn't show up on the browser, here is the site -> http://passionate4.net/

前端 未结 3 1131
心在旅途
心在旅途 2020-12-22 11:12

I am using apache passenger to deploy rails application.

I have followed each and every step clearly and everything works fine. No error message in deployment.

3条回答
  •  天命终不由人
    2020-12-22 11:38

    Make sure that your vhost lives somewhere in /etc/apache2/sites-available, and then make sure to add it to apache, either by using the a2ensite command, or by manually symlinking /etc/apache2/sites-enabled/your_vhost_name_here to whatever you called the site.

    Possible commands to enable the site (use either one):

    sudo a2ensite your_vhost_name
    
    sudo ln -s /etc/apache2/sites-available/your_vhost_name /etc/apache2/sites-enabled
    

    After you've done this, make sure to reload apache, by running the following command:

    sudo service apache2 restart
    

提交回复
热议问题