How to host a web server in your office?

Asked by anindita

Hi. I remember Habrowa owners showed photos of old servers of Habr, who stood and worked right in their office.

There was a question: How can I connect servers and place them in my office? Who should I look for? Normal providers? Or is it all done in a different way?


& quot; Servers of all TM sites. Avtokadabra, Dribler, Supergabr and Habrahabr. It happens that someone spills coffee on the server, and then one of the habros lies and lies to us a sign about preventive maintenance. "



© filip.grumy.ru/blog/392.html

Answers

cynthia riesgraf
The main question is why? Compared to placement in a data center (DC), you win only what you have to fight so that someone spills coffee on the server + sites will work much slower than in DC, because the office is usually of the same good width channel with a short distance to traffic exchange points - do not lay. Again, what will you do if the Internet disappears? In DC in this case there are backup channels. What will you do if the electricity goes down and the equipment burns out? In DC there are bespereboynik and diesel engines ...
Replies:
Of course, all this was thought of, because stability is paramount. But, I want to save money while on the servers (after all, you can take a regular taver and use it instead of 1U). Nobody will shed coffee exactly, but about the fall of the Internet, electricity, it is a fact. But, I ask why, because Habrahabr worked pretty consistently, as I remember it. And it was from them that I saw that the servers are generally under the table (where there was a photo, I can not find it already). - helen noble
Take the server easier to rent or VPS even better. You for $ 20 will be a reliable hosting, the same tower will cost much more expensive + a bunch of hemorrhoids described above. - cath wagas
In our Tier2 DC, if desired, budget VDS (traffic anlim, 512M RAM, 30GB screw, 2IP) can be taken for $ 17-20. Despite the fact that the DC is foreign - its services can be paid for by the Russian accounting department without any problems ... - lisa hall
anand gopal
I have a server at home. Under the table. On the second stump.

The question is not very clear ... you say so as if the “server” is some kind of special computer and it needs a special Internet. But this is not at all the case; this is any computer and any Internet, even though dial-up. Just with this approach, access to your server will be fig.
In short, take a room with air conditioning, a good UPS and choose the two most reliable providers. A very fast channel is not necessary (although it certainly depends on the site. But for an average site it is not necessary) 10-20 Mbit is enough.

This is of course complete bullshit and much easier to get some sort of VPS / VDS. But here is your choice.
Replies:
About the server under the table. If there is a desire for a small site to host it and there is a free second-level domain. What to read to figure out how to link this domain to the site, which lies on a server under the table? ) - sheng
Option 1. Difficult. You need two static ip addresses and two working name servers. For example, bind, if you have Linux, well, or bind, if you have Windows ^^ Then you simply specify these NS in your domain settings and everything works (assuming that you have Apache or what you have there) already configured)
Option 1a. There are service providers that provide a second NS. And you can first.
Option 2. Many registrars have the “Managed NS” feature. In this case, the name servers are with them, and you get a control panel to change any A, CNAME, MX, etc. (A - address, CNAME - available subdomains, MX - mail server, but in general, if you’re reading about bind, you’ll have to read about it) - eric machmer
o uzhan zdemir
need to look for those who are able to stretch a good speed channel to the office and good cooling to the server :)
jos fernandes
We have servers in the office, but we are the exception rather than the rule. Provider - in the next room. So we are friends, then a couple of 100 megabit lines come to us for a penny. The wire itself is connected to Comcor and Beeline. Here we wrote about two static IPs for ns-s - of course you can, but we manage with one.
brad sherman
I may break your children's bright dreams, but at TM nothing critical is at the office. The “office period” was very, very early and ended precisely because of problems with the “corporate Internet”, which is not only expensive and slow, but also extremely unstable (we understand that various unknown boxes with it’s better not to pull out the wires and light bulbs, but try to explain this to some housekeeping cleaner who has been accustomed since childhood to the principle of “leaving the lights to go out” and without hesitation chops a main switch that prevents her from cleaning up).
In the office we only have servers of developers who immediately work, backups and all sambopomoyki office. And then, SVN, we also think to endure.

I advise you to look at Hetzner, they have more than adequate prices for dedicated root servers.
Replies:
Ooo, at habrovtsev svn! What a reason for holivar! :)) - jonathan slate
Well, there’s still git. Who is accustomed to, that one and enjoys. Somehow, simply, the HVS has already become rather a household word, of course, it was more correct to say “repositories”. - melissa raspa kick
shellwatts
Are you sure that it is necessary to have a separate server and lack a more or less thick VPS? Yes, a server like i7-720 / 8Gb / 2x750 can be taken for 50 per month (one German hosting provider)
maryam f
To organize your web server, you need to understand how the client accesses it:
user enters domain in browser address bar,
the computer receives an ip address from the dns server corresponding to the desired name
port 80 (unless otherwise specified) sends a request of the form: “get / HTTP / 1.0”.
In response, the server sends the contents of the page.

So, to organize your web server, you need to buy a domain name (you can get a third-level domain for free, but do you need it?), Find two DNS servers (you can order from the person who sells domains, usually), register them for the purchased domain .
Then find a provider with a static IP address (preferably, but not necessary either). Connect the server, assign it an IP address and register this address in the A record in DNS. If aypishnik dynamic, you will often have to change the record in DNS. This is also possible.

In general, the feeling is that you are asking about raising a web server categorically without understanding how it should work. So that the main advice: find someone who understands. He will make a little money.
Replies:
I understand how the web server is organized, and I raised the web servers earlier :) I probably did not correctly formulate the question. I am interested in whether there are special providers that allocate a wide channel straight to the office, so I asked. And how to screw the DNS and the server itself is configured, I know. Experience in this is :) - rameen altaf
And what does “special” mean? Most providers, in general, do not care what channel you provide. Despite the fact that you rarely see channels wider than 10 megabits in the tariff grid, in practice, you can always connect at least 10 Gigabit channels to the office from almost any provider. The problem is only in the cost of such a solution (and its reliability, in the case of local providers).
Decide on the necessary bandwidth, call local providers and such as Beeline, Comstar. Compare prices, connect.
In principle, it is possible that you are not understand where, and you have to pull the cable. This situation is somewhat more complicated, but it is also easily solved with the necessary funding;)

If I again did not guess the answer, ask again. - bryce edwards
If ip dynamic you can use dyndns.com or no-ip.com - raultv
Tags in windows explorer? :: Tunneling via HTTP proxy :: UI mobile applications: Native SDK vs. HTML5 :: Startup promotion, how? :: Checking Forms in html5 (firefox 4 beta x)
Leave Repply for How to host a web server in your office?
Useful Links