These forums are read-only!
IP Address - domain name
  • Hi,

    I am trying to setup my slice to serve a RoR app. I have installed Phusion passenger to serve the app but when I start my rails app and navigate to my slice's IP address i get the default "It works!" message.

    However, if I add the :3000 at the end of the IP address, it all works.
    Is there something I need to do in the config section of apache or passenger to set this up?

    Any help would be much appreciated.

    Regards
    Volkan
  • Phusion Passenger can be run as a stand-alone server for Ruby. It does not require any other web server. You can start Phusion on the default HTTP port (but you must first stop the other web server that is listening on port 80) with 'sudo passenger start -p 80'

    See the Phusion Passenger documentation for more details: http://www.modrails.com/documentation/Users%20guide%20Standalone.html

    You can, however, also run it as a module for your web server if you like. The documentation for apache and nginx are here http://www.modrails.com/documentation/Users%20guide%20Apache.html

    and here, http://www.modrails.com/documentation/Users%20guide%20Nginx.html
  • I tried stopping apache and then tried sudo passenger start -p 80 but got an error saying another instance is running on that port.

    when i start and navigate to my app its still at port 3000.

    any suggestions?
  • Posted By: TimFPhusion Passenger can be run as a stand-alone server for Ruby. It does not require any other web server. You can start Phusion on the default HTTP port (but you must first stop the other web server that is listening on port 80) with 'sudo passenger start -p 80'

    See the Phusion Passenger documentation for more details:http://www.modrails.com/documentation/Users%20guide%20Standalone.html

    You can, however, also run it as a module for your web server if you like. The documentation for apache and nginx are herehttp://www.modrails.com/documentation/Users%20guide%20Apache.html

    and here,http://www.modrails.com/documentation/Users%20guide%20Nginx.html
    Thankful People:volkan,sidhuu


    really good!! thanks!!
  • I would suggest just repeating the same steps over again until it works.
  • The process to find the IP address is obtained by a DNS (Domain Name Servers) until a match is found the domain name. This process is also known as DNS lookup, NSLOOKUP or (erroneously) IP research

    The process of finding the IP address is obtained by searching for DNS (Domain Name Servers) until a match is found in the domain. This process is also known as DNS lookup, nslookup IP search, or (incorrectly)

    The process of finding the host name (or domain name) of an IP address to send a message to the IP address and requesting the computer located at that IP address to return its name. Usually this will be the same as the domain name. However, many computers host many domains so the host name can be one of the domain name or it could be something completely different.