When i ssh to amazon ec2, then
pwd
/home/ubuntu
ls
app_1 app_2 app_3 app_4
Considering i have mapped my ec2-122** address to some apps.site1.com
How can i have multiple rails applications running like if i access,
apps.site1.com/app_1 apps.site1.com/app_2 apps.site1.com/app_3
each of the application should be loaded.
One of my friends told he has implemented it for apache+php applicati
I have setup the apache + passenger in my ec2 server.
When i try
http://ec2-***-***-***-**.ap-*-1.compute.amazonaws.com/
output:
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
Next is
ec2-***-***-***-**.ap-*-1.compute.amazonaws.com is mapped to a dns, say myserver.com
Now i want to run mu
I would like to serve multiple sites on one instance.
I install nginx, php-fpm, and a rails app.
I had followed many articles to 'How to create VirtualHost in Ubuntu'.
I'm trying to configure my apache with tomcat, thus I used a proxy, but, not working. Of course I loaded the modules proxy, proxy_http.
i have these domains : site1.com, site2.com, .... , site10.com
i config site1.com in my server (win server 2008 R2 and access via remote desktop). site1.com is OK.
I previously ran an two Ruby and Rails applications, one of them by using rails console command, the another one using Apache trough Phusion Passenger. Both applications ran in same IP, the only difference was the application running wih rails console was accesible from port 3000.
Now, I would like to run both apps with Apache, but I know what exactly configure to do that.
I am running an ASP.NET 4.0 website using IIS7 on Windows Server 2008 R2.
The site has a number of Web Applications under the main domain (~/site1, ~/site2, ~/site3, etc...).
We have a Linux server with a single site set up on it (site1.com), down the road we may set up additional sites.
When we send an email through php it comes from www-data@site1.com
We would like to change it to contactus@site1.com, but also make it so that when we add site2.com down the road, we can have the default email set to admin@site2.com for instance.
I tried setting it in .htaccess, but