I have a domain, let's say:
And I want it to listen on port 3000:
Now this is on a remote webserver (not my local apache setup).
I have access to the server (which is apache and it's running on ubuntu os).
This server is a rails application in it and I want the rails application to run when the dev.mysite.com:3000 gets response on the web.
Everything is setup, such as apache, passenger, rails, ruby, ruby gems, etc. SOmeone set it all up. Now I am just trying to find the virtual host file so I can set up that domain address to be listening on port 3000. However, when I run the unix locate command, I get tons of files like httpd.conf:
/etc/apache2/httpd.conf /etc/phpmyadmin/lighttpd.conf /home/username/.rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/test/ stub/apache2/httpd.conf.erb /home/username/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.2/test/cgi/ lighttpd.conf /home/username/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.3/test/cgi/ lighttpd.conf /home/username/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.4/test/cgi/ lighttpd.conf /home/username/src/otp_src_R13B04/lib/inets/examples/server_root/conf/ httpd.conf /usr/local/lib/erlang/lib/inets-5.3/examples/server_root/conf/ httpd.conf /usr/local/rvm/gems/ruby-1.9.2-p180/gems/mongrel-1.1.5/examples/ httpd.conf /usr/local/rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7/test/stub/ apache2/httpd.conf.erb /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.2/test/cgi/ lighttpd.conf /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.3/test/cgi/ lighttpd.conf /var/lib/gems/1.8/gems/rack-1.2.2/test/cgi/lighttpd.conf /var/lib/passenger-standalone/3.0.7-x86_64-ruby1.9.2-linux- gcc4.4.5-1002/support/test/stub/apache2/httpd.conf.erb
My instinct said that the configuration setup would be in /etc/apache2/ httpd.conf but I went there and that file was empty.
Can anyone advise me which of these files might possibly have the virtual settings I need to modify in order to get dev.mysite.com to listen on port 3000 so that when I type in www.mysite.com:3000 in web address bar, it will respond and load the rails app.
thanks for response