what is the requirments to run my own web server? - hosting

what is the requirments to run my own web server, if i bought for instance Dell PowerEdge T110 II compact tower server, what is the requirments and what do i need to host my own web application on my server?

Is this something your planning to use for your own web app? If so I would definitely recommend not going this route and instead using a service like RackSpace or GoDaddy. Especially if you're doing this out of your home as you probably would be paying a small fortune in extra bandwidth usage.
Also, what are you developing the web app in? If PHP then you'll need a LAMP (Linux, Apache, MySQL, PHP) server. If you're doing a .net application using Microsoft's Visual Web Developer then you would need a Windows Server.
I hope this helps you.

Related

Can I deploy a Spring Boot application on godaddy

Can I deploy a Spring-Boot application on godaddy
using Web hosting and cPanel?
Thanks.
No. If you're using Web hosting (shared) plans according to Godaddy details.
I Suggest the answer from Amir Al.
For more information:
Web hosting (Shared) usually limits the Web technology you can use.
However, they're cheap and easy to set up a Wordpress, Drupal, Joomla etc.
So, if you use spring-boot, search Java web hosting
Virtual Private Server (VPS) and Dedicated Server will unlock the web hosting limitation because you have to do it by yourself.
However, if you're not familiar with Linux (Ex. CentOS / Ubuntu) command line. you can try Window VPS. If it looks so expensive, move to the cloud. I suggest a free trials or ~5USD package with Digital Ocean, Google Cloud, Amazon lightsail, and so on
Platform as a Service (PaaS) such as heroku. If Linux command line seems to be hard work for you. This choice gives you a shortcut to deploy your target application. However you have to learn about Git and their tools.
So, if you want to deploy spring-boot use:
Java web hosting
Cloud PaaS
VPS
Nodtem66 - Thanks for sharing the information. It helped me a lot.
In addition to what is mentioned above. I figured out there are 2 ways of hosting a java based application:
1. Purchase a VM (VPS, PaaS) - This is higher in cost if the only need is to have a single webpage application hosted
2. Pay for only Java Hosting - This is much lesser
Few of them I came across are:
https://www.hioxindia.com/linux-dedicated-jvm-hosting.php
https://www.ewebindia.com/java-hosting.html

Windows Azure and Dreamweaver

Can I use Dreamweaver to build an HTML based site and then upload this site to the Azure platform via ftp, more specifically will Windows Azure recognise the default page for my website without explicitly having to reference it in the URL?
Azure PaaS (either Cloud Services or Web Sites), no.
Azure IaaS, yes... with a bunch of initial setup.
You could spin up an Azure VM and host a plain HTML web site from within IIS there. You would need to configure the IIS web site (e.g. start page) and set up the FTP server when you first provision the server.
My gut feeling is that Windows Azure is not a very economical hosting model for a project of this kind though.

Does IIS Express support the web garden model?

I develop locally using IIS express and always perf/load test my app, but I've run into some scenarios lately, especially when publishing to Windows Azure, where contention issues due to multiple servers simply cannot be simulated locally. I know IIS supports a web garden model where multiple worker processes are used to serve requests and utilize multiple processor cores more effectively. Does IIS express support this same setting? If so, where do I configure it?
It does not. Web garden and other application pool related features rely on Windows Process Activation Service and other IIS underlying mechanism which are not available for IIS Express.

Debugging a Windows CE application which uses a Microsoft Azure service

This question has probably less to do with actual programming and more to do with environment setup.
I'm developing an application for a Windows CE device, which will use a service hosted in Microsoft Azure. Obviously, this is all under development, and the service itself has not yet been uploaded to Azure. So I'm using the emulators provided by MS to deploy the service locally. Also, I don't think uploading the service to Azure just to debug it is a good idea, as that could net us a bill for Azure we don't yet want to pay.
Also, please note, I'm using VS2008 for the Windows CE project and VS2010 for the Azure project (thank you MS for dropping support for mobile devices -_-).
The problem is, the service seems to be accessible only via 127.0.0.1 or localhost, and if I physically connect a Windows CE device or use an emulated one, it becomes a new entity on the network, and cannot access that service any more.
How can I debug my Window CE application and have it see the service, whilst still being able to debug the service itself?
You are correct, the development fabric (the compute emulator that allows you to build an azure application and debug it locally) is only meant for local development. There are some hacks that allow you to get around that, but I wouldn't recommend it.
My recommendation would be to spin up the service in a more traditional hosting environment, at least in these early stages. You can define it as a web app just as you always would have, and get it functioning. Then, when you know its mostly complete, create a cloud service project and do an add existing to bring your web app into the cloud service solution. Once in, its a simple matter to add the web app as a web role.
From there, you can complete testing of the service in both the local and hosted azure environments as needed. This allows you to minimize your development costs while still leveraging the power of the cloud. As an upside, you also have done most of the basic work to ensure your service is compatible with multiple deployment scenarios giving you a greater degree of choice for its final production state.
OK, I don't know if this was intentional, or if I found one of the mentioned hacks, but I saw that IIS hosts the Azure site I created on port 5100, and the binding for this site is *, so it accepts all connections.
Using this I could access the service from my emulator, and I could still debug all Azure related stuff.

Teamcity as buildserver, host or pay for some else?

I am working with a team of 5 developers at a small company. There are 3 who work here and 2 work remotely. Currently, we are using Assembla with Trac for source control. We are working on a ASP.NET MVC web site. We are not hosting our production environment right now. I am setting up a BuildServer with Teamcity!! I have it working right now on my locally on my laptop. Should we host our own buildserver or pay some else?
TeamCity is pretty good for small shops such as yours. Hosting your own really shouldn't be bad in terms of setup and cost. As long as your remote colleagues can access it without issue and it fulfills your requirements, go for it.
I'd recommend hosting it closer to your version control server so that it can obtain the sources and perform builds faster. If you host your own version control server, either install TeamCity on the same machine (if the hardware allows it) or put it in the same network. You will also need to install build agent(s) somewhere and a database server (as the internal database may lack the performance and reliability). In a small shop a standalone server would handle all of it (TeamCity Server + Build Agent + MySQL database). In a long term buying a server and hosting it by yourself would be much cheaper than paying some hosting provider each month for a virtual or dedicated server with limited resources. It would also simplify upgrading if it becomes necessary.
TeamCity server by itself is a web application hosted on the Tomcat server. It's accessed via the web interface from the browser. If you have an external IP address on the server, just configure the Tomcat to listen on that address and TeamCity will become accessible from all over the world (don't forget to configure the security).

Resources