I have already edited .htaccess file in server and implemented server.compression in jar as below.
Even though its working in local-machine its not working in AWS EC2 instance,I have also made changes in .htaccess file also but no compression.
i have included following in application.properties
Can any one guide me to fix it.
or any other way to compress response.
I have 2 server AWS EC2 (EC2-A, EC2-B).
Now, I have 1 domain http://my-domain.com call to website in EC2-A (/var/www/html/website1).
I want setup domain category http://my-domain.com/category call to website in EC2-B (/var/www/html/website2).
Can I do it?
I want to have a server setup which will allow my users to signup, create a user page and configure their domain name to point to the user page ( This is similar to how tumblr users can point their domain name to their tumblr page. My server URL should not be visible). The content served is all dynamic.
I know that I can configure multiple hosts on nginx, apache etc. However, I do not know how I can do this configuration on the fly, completely automated. Also I want to be able to host a very large number of domains say million +. I want to host the server on aws or azure. Please let me know the possible solutions.
Thanks in advance!
I'm new to server side technologies, and I'm curious about why people install Apache servers on AWS EC2 instances? From what I understand, and EC2 is a virtual machine in the cloud that can act like a server by itself. In that case, why install another server on top of it? Do the two do different things?