Switching to a VPS [closed] - web-hosting

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Well, I know absolutely nothing about the subject, so I really need help.
I currently have a website running on google app-engine (Java) and I can't get it to what I want because of app engine's limitations (no full text search mainly). The traffic is low, never reached 15% of the free quota (around 1500 daily pageviews).
I also have 3 sites in drupal hosted in a shared hosting service, and this is giving me problems, because the server speed is awful. The sites are VERY low trafic, but load times are bad, and I might need to add more sites for some clients, so this will only get worse.
So, i'm planning to move all that to VPS. The question is, can I have 2 http servers running in the same VPS? because I will need Apache-php-drupal server and a java server (tomcat?).
I have really no idea on this, so any tip will be very helpful to me.
Thanks!

Yes you can. Your httpd and tomcat will be running on different ports on the same server
Some of the choices you have are
Forward a virtual directory of your httpd to the tomcat server (if you use one domain name)
Use URL based rules to forward the requests from the java app domain to the tomcat server

Related

Azure Web Application Gateway performance with load test [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I have a Visual Studio load test that runs through the pages on a website, but have experienced big differences in performance when using a load balancer. If I run the tests going straight to Web Server 1 bypassing the load balancer I get an average page load time of under 1 second for 100 users as an example. If I direct the same test at the load balancer with 2 web servers behind it then I get an average page load time of about 30seconds - it starts quick but then deteriorates. This is strange as I now have 2 web servers load balanced instead of using 1 direct so I expect to be able to increase load. I am testing this with Azure Web Application Gateway now, and Azure VMs. I have experienced the same problem previously with an NGinx setup, I thought it was due to that setup but now I find I have the same on Azure. Any thoughts would be great.
I had to completely disable the firewall to get the consistent performance. I also ran into other issues with the firewall, where it gave us max entity size errors from a security module and after discussing with Azure Support this entity size can not be configured so keeping the firewall would mean some large pages would no longer function and get this error. This happened even if all rules were disabled, I spent a lot of time experimenting with different rules on/off. The SQL injection rules didn't seem to like our ASP.NET web forms site. I have now simulated 1,000 concurrent users split between two test agents and the performance was good for our site, with average page load time well under a second.
Here are a list of things that helped me to improve the same situation:
Add non-SSL listener and use that (e.g. HTTP instead of HTTPS). Obviously this is not the advised solution but maybe that can give you a hint (offload SSL to the backend pool servers? Add more gateway instances?)
Disable WAF rules (slight improvement)
Disable WAF + Added more gateway instances (increased from 2 to 4 in my case) - SOLVED THE PROBLEM!

Backup domain controller with exchange remove it? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
So in my network I have the main domain controller and a backup domain controller. The backup domain controller has exchange on it.
The exchange services have been shut down as I have moved email hosting off site. So I now have no need of that backup domain controller that was running exchange. I want to shut it down for good.
What would be the proper way to remove it from its role in active directory and a backup domain controller?
Both domain controllers are Server 2008.
Thanks much!
Firstly, just don't do it, this is a SysAdmin SIN! Your shooting yourself in the foot. Even for my smallest customers with only 10 members of staff, I often have them purchase a second server to act as a secondary domain controller, DNS server, DHCP Server etc.
It is the first and few things Microsoft recommends as best practice when setting up a domain and one of the first things that is taught to you when you do the MCSA course: When creating a domain a secondary domain controller should be set up. If you have more than 20 Users its a must IMHO. Many things can go wrong and too many times clients have incurred big bills(man hours) because they didnt spend that extra £2000 on another server. I strongly recommend you keep it. It's not just availability, it prevents a large number of corruption issues which can linger for weeks before presenting themselves which makes 7x daily backups no help. It's your sefety net.
If you must get rid of it, first check is doesn't hold the FSMO roles and run dcpromo following the steps here: http://technet.microsoft.com/en-us/library/cc771844(v=ws.10).aspx
Lastly, your getting down-voted because StackOverflow only like coding qustions and they want you to use ServerFault which is part of the same family.

Programmatically helping NAT Translation [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have a scenario where I have multiple mobile phones using a single home wifi router (read not special or expensive) When I get the phones to send almost identical requests to the same location the router appears to be dropping one phone and keeping the other (generally the faster of the two).
After testing for a while now, I'm closing in on the hypothesis that NAT translation is blocking one of the phones or dropping its returned info from the web.
The goal is to get both phones to communicate with a web application online through a generic home wifi without (key aspect here) modifying the router.
My communication is an AJAX request from within a PhoneGap application. Is there something that I can do programatically to help NAT work it's magic and support multiple phones?
This turned out to be an unknown issue with the Web Host provider. Despite more than a dozen detailed requests for what on their side was blocking things I was always referred to how my own equipment or own code was at fault.
Set myself up a VPS and presto change-o I have a working system with no modifications to the code or the equipment.
TIL I don't like people who cover up their incompetency by blaming others.

Amazon version of Rackspace's cloud sites? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I was wondering if any of you know an Amazon version of cloud sites from rackspace. I know they have services similar to cloud servers and files but not this?
Basically, I'm looking for a scalable web server managed by them, *** but (this is what cloud sites can't do) I want to still be able to do things in the backend and install other apps etc.. (like my own server)?
thanks
Amazon does not offer any managed hosting services. What they provide is infrastructure-as-a-service, the barebones level services for building on top of. They offer no management services. This stuff is meant for low level developers / system administrators to build the higher level systems on, not your average web hosting customer.
Amazon's new Elastic Beanstalk offers something closer to Rackspace Cloud Sites, but is currently limited to Java sites.
I have a new Platform as a Service (SaaS) in the works to offer multiple languages/frameworks on top of AWS to the general public. Check it out...
http://www.mojoengine.com

How can I determine what hosting provider hosts a site? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Is there a service that will identify where a site is hosted (presumably by IP)?
Who-hosts is an online free service that can tell you which is the company that hosts the provided URL, and doesn't require registration.
tracert www.sitename.com
is probably your best bet. The last entry or two should give you your best hint. Otherwise, the whois entry may be a good indicator as well, especially if they are using a hosting provider for DNS.
EDIT:
Its traceroute not tracert on linux machines.
Just do a whois search on the IP.
http://samspade.org/whois/ is a free utility for telling you who owns an IP address or domain name. If this is a server farm hosting multiple servers, then it will likely be registered to the hosting company.
This isn't exactly what the question asked for, but you might find it useful to know that Netcraft provides some pretty neat information about the uptime, web-server software, and ISP used to host websites as well.
Domaintools can usually give you some pretty good information, under the "Server Data" and using the "Reverse IP" tool (though you have to pay to get full results from that one).
http://whois.domaintools.com/websitename.com
just put the website name in instead of websitename.com.

Resources